[Samba] Need help on default-ACLs and create mask
Peter Koch
samba-list at naev.de
Wed Aug 6 15:29:08 GMT 2003
Dear Readers:
I'm using Samba 2.2.8a on a Solaris 9 machine. Samba has been compiled with
ACL-Support and everything works fine, but there is one feature that I dont
understand.
A file that is created in a directory with default ACLs for the owner, group
and others-permissions will inherit these permissions and the umask will
be ignored.
Example:
cd /var/tmp
mkdir dir
setfacl -s u::rwx,g::rwx,o:---,d:u::rwx,d:g::rwx,d:o:rwx dir
umask 022
touch dir/testfile
ls -l dir/testfile
Result:
-rw-rw-rw- 1 root other 0 Aug 6 16:59 dir/testfile
Samba will NOT ignore the create mask parameter in this situation. Is this a
bug or a feature?
Any suggestions on how to configure samba, so that files in some directories
of a share will get 666-rights while others (in the same share ) will get
664?
Thanks
Peter
--
Peter Koch <samba-list at naev.de>
More information about the samba
mailing list