Understanding FS ACLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux