Andreas Ladanyi
2008-Aug-26 18:40 UTC
[Samba] Howto to set ACLs (like force user/ force group for single user/group) with Samba
Hi everybody, the force user/group does a great work. But i have to set an ACL with Samba when a file/directory is created. Does Samba have an integrated mechanism ? My alternative idea is to use the "preexec" and "postexec" method. Bye, Andy
Andreas Ladanyi
2008-Aug-28 12:19 UTC
[Samba] Re: Howto to set ACLs (like force user/ force group for single user/group) with Samba
Andreas Ladanyi schrieb:> Hi everybody, > > the force user/group does a great work. > > But i have to set an ACL with Samba when a file/directory is created. > Does Samba have an integrated mechanism ? > > My alternative idea is to use the "preexec" and "postexec" method. > > Bye, > Andy >I found out: i have to set an acl on a parent directory my self with setfacl. If i want that the acl for files and directories below this parent directory are set automatically, i have to set: inherit acl = yes to the share definition.