[Pkg-samba-maint] Bug#692551: Symlinks in share root are not shown to client if share has sticky bit

Vladimir K pzs-fs at yandex.ru
Wed Nov 7 11:53:37 UTC 2012

Package: samba
Version: 2:3.6.6-3
Severity: normal

Dear maintainer,
I have samba server configured to follow symlinks.
Some of the lines of my smb.conf:
     unix extensions = no
     path = /home/public
     wide links = yes
     follow symlinks = yes

Generally it works as it should, but If share path has a sticky bit set, client does not see symlinks placed in the root of this share.
Symlinks placed in subdirs of the share are correctly shown regardless of sticky bit:
/home/public/symlink1 < not shown on client if /home/public has sticky bit
/home/public/subdir/symlink2 < always shown on client
The moment I do 'chmod -t /home/public', symlinks in share root appear on client.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8 at ISO, LC_CTYPE=ru_RU.UTF-8 at ISO (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Pkg-samba-maint mailing list