[Samba] XFS and inherit permissions bug?
Blaž Primc
expertmeant at gmail.com
Wed Apr 5 12:20:15 GMT 2006
Hello everyone!
Using Samba (Version 3.0.22-SerNet-Debian) on Debian stable and I
noticed that parameter "inherit permissions" for share defined like this:
[data]
path=/data
browseable = yes
writable = yes
guest ok = no
force create mode = 2660
inherit acls = yes
inherit permissions = yes
wide links = no
works okay, if the /data filesystem is Reiser3, but not with XFS.
By okay I mean the paragraph mentioned in the manpage:
inherit permissions (S)
...
New directories inherit the mode of the parent
directory,
including bits such as setgid.
....
With XFS the setgid bit is not inherited by newly created directories
through Samba - eg. you connect to this share with Windows client and
create new directory. If I create a new directory in shell, directory
mode is inherited properly.
Best regards, Blaz.
P.S.: Should I need to provide more information please say so...
Global section of smb.conf:
---------------------------
workgroup = domain
netbios name = domain_fs
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
guest account = nobody
invalid users = root
load printers = no
preserve case = yes
security = ADS
password server = ad.domain.lan
encrypt passwords = true
realm = domain
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = no
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
winbind cache time = 300
idmap uid = 15000-25000
idmap gid = 15000-25000
template homedir = /dev/null
template shell = /bin/false
getwd cache = yes
---------------------------
More information about the samba
mailing list