[Samba] file permissions with inherit permission + ACL's
Ralf-Lists at ralfgross.de
Wed Apr 18 16:02:41 GMT 2007
Carlos Rivera-Jones schrieb:
> "drwxrws---+ 2 ralfgro ve 6 2007-04-18 17:28 testdir"
> 2770 [drwxrws--] permissions will force inherit at the file level
> system, ignoring Samba. Set the directory to 0770 permissions, and new
> items would be created with 660 as per smb.conf
I removed the gid bit, but this doesn't change the permissions of new
files. They are still 770.
ls -la testshare
drwxrwx---+ 2 ralfgro ve 25 2007-04-18 17:57 .
drwxr-xr-x 5 root root 63 2007-04-18 17:55 ..
-rwxrwx---+ 1 ralfgro ralfgro 0 2007-04-18 17:56 testfile.txt
> Other thing is to insure that the main group for the user is the same
> for all users.
Hm, the users that access this share are member of many groups and the
main group will not always be the one of this share. But I think this
will be handled by the default ACL's.
More information about the samba