I have problem understanding FS ACLs.Can someone explain me why the following behaviour occur?<br><br>Let's suppose that we have a /shared directory we want to give rwx access to admins group.<br><br>setfacl -m d:g:admins:rwx shared <br>
<br><pre class="alt2" dir="ltr" style="margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 210px; text-align: left; overflow: auto;">[root@rh1 /]# getfacl shared<br># file: shared<br># owner: root<br># group: root<br>
user::rwx<br>group::r-x<br>other::---<br>default:user::rwx<br>default:group::r-x<br>default:group:admins:rwx<br>default:mask::rwx<br>default:other::---<br></pre><br><br><pre class="alt2" dir="ltr" style="margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 98px; text-align: left; overflow: auto;">
[root@rh1 /]# su - jack<br>[jack@rh1 ~]$ id<br>uid=500(jack) gid=507(admins) groups=507(admins) context=root:system_r:unconfined_t:SystemLow-SystemHigh<br>[jack@rh1 ~]$ cd /shared/<br>-bash: cd: /shared/: Permission denied</pre>
<br>