[Samba] non-wide symbolic links broken?

Jeremy Allison jra at samba.org
Mon Oct 31 16:32:19 UTC 2022


On Mon, Oct 31, 2022 at 03:20:01PM +0300, Michael Tokarev via samba wrote:
>Hi!
>
>For quite some time, it looks like I have to always enable "wide links"
>if I do use symlinks *anywhere* within any share. The problem is that
>symlinks which points to a different directory, even within this same
>share, does not work and are entirely ignored by samba as like it were
>listed in "veto files".
>
> ln -s subdir/file link
>
>even if subdir is clearly a part of this same share and subdir/file is
>also within the share, this link doesn't work.
>
>After enabling "wide links" it starts to work but that one does have
>its own "fun features".
>
>Is it intentional, or is 'follow links' parabeter has become useless?

We have tests for this, which we're (obviously) passing.

Can you be explicit, with version and a reproducible problem ?

If so, log a bug and we'll investigate.

Thanks !

Jeremy.



More information about the samba mailing list