Linux 101

New created folder will inherit the ACL permission

Default folder permission

Q: What is it used for

A: New created folder will inherit the ACL permission

How to set

setfacl -m d:u:username:rwx /folder

setfacl -m d:g:groupname:rwx /folder

setfacl -m d:o:rwx /folder

[Example]

Permission is inherited

Not inherit ACL permission

The permission of /test/testtt has set to 1666

With sticky bit, although user qqq have permission of rw(mask), he still cannot remove the folder due to it.

#ACL