Hello,
i'm using
samba 2.0.7 with solaris 7
i would like
to use the 'inherit permissions' - option.
smb.conf
[test]
comment = TEST
path = /test
writeable = Yes
inherit permissions =
Yes
UNIX-FS:
mkdir
/test
chmod 777
/test
chmod g+s
/test
ls -ld
/test
drwxrwsrwx ..... test
If i create
a new directory /test/xxx from unix-prompt, the new directory has the setgid-Bit
too
ls -ld
/test/xxx
drwxrwsrwx ......
xxx
But if i
create a directory using my samba-share, i don't get the
setgid-Bit
drwxrwxrwx ....
new_with_samba
The truss of
the smbd shows
23713:
mkdir("new_with_samba",
042777) =
0
23713:
chmod("new_with_samba",
042777) =
0
So it seems
ok but the new directory doesn't have the setgid-Bit.
Can anybody
help me ??
Thanks
Armin