As root, after creating a directory /Logs/case1, and setting the ACL to have default group "mygroup" permission as "rwx", any subdirectory created doesn't inherit those permissions
$ mkdir /Logs/case1 $ setfacl -m g:mygroup:rwx /Logs/case1
here are the ACLs after setting them:
gc@logs:/Logs$ getfacl case1 # file: case1 # owner: root # group: root user::rwx group::r-x group:mygroup:rwx mask::rwx other::r-x
Now as a regular user of the system, I'm supposed to create a sub directory under /Logs/case1
$ mkdir /Logs/case1/12345 gc@logs:/Logs/case1$ ls -lrt total 4 drwxr-xr-x 2 gc mygroup 4096 Dec 1 00:16 12345 gc@logs:/Logs/case1$ getfacl 12345/ # file: 12345/ # owner: gc # group: mygroup user::rwx group::r-x other::r-x
Why is this directory "/Logs/case1/12345" not inheriting the parent directory ACL for group "mygroup" - "rwx" ?
Here are the assigned groups to user "root" and "gc"
$ groups root root : root $ groups gc gc : mygroup