[CentOS] Understanding FS ACLs

Fri Aug 20 08:09:50 UTC 2010
Miguel Medalha <miguelmedalha at sapo.pt>


On 2010-08-20 08:34, Silviu Hutanu wrote:
> I have problem understanding FS ACLs.Can someone explain me why the 
> following behaviour occur?
>
> setfacl -m d:g:admins:rwx shared
>

You have only defined the default ACL for the directory, which only 
affects newly created files and directories within it.

You need to define the current ACL. Try the following:

setfacl -m g:admins:rwx shared