I have problem understanding FS ACLs.Can someone explain me why the following behaviour occur?
Let's suppose that we have a /shared directory we want to give rwx access to admins group.
setfacl -m d:g:admins:rwx shared
[root@rh1 /]# getfacl shared # file: shared # owner: root # group: root user::rwx group::r-x other::--- default:user::rwx default:group::r-x default:group:admins:rwx default:mask::rwx default:other::---
[root@rh1 /]# su - jack [jack@rh1 ~]$ id uid=500(jack) gid=507(admins) groups=507(admins) context=root:system_r:unconfined_t:SystemLow-SystemHigh [jack@rh1 ~]$ cd /shared/ -bash: cd: /shared/: Permission denied