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
---------------------------
Hello I have the same setgid inheritance problem, Debian Etch with distro kernel & Samba package (2.6.18-5-686 & 3.0.24-6etch4). When a share is on a XFS partition the setgid bit is not inherited, when the share is on a EXT3 partition it works. Is someone using XFS and setgid? Any ideas? Bla? Primc a ?crit :> > 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.
Hi, On Fri, 31 Aug 2007 16:33:55 +0200 "initiators@free.fr" <initiators@free.fr> wrote:> > Hello > > I have the same setgid inheritance problem, Debian Etch with distro > kernel & Samba package (2.6.18-5-686 & 3.0.24-6etch4). > > When a share is on a XFS partition the setgid bit is not inherited, when > the share is on a EXT3 partition it works.Please provide your smb.conf so i can reproduce this, a test case would be ideal. Cheers, David D