/ Published in: Bash
Expand |
Embed | Plain Text
# Enable ACL mount -o remount,acl / # Set defualt ACL setfacl -m d:g:theGroup:rwx . # Get ACL getfacl <file> # Set ACL to user (--modify) setfacl -m u:<user>:rwx public_html # Set ACL to group (--modify) setfacl -m g:<group>:rwx public_html # Set ACL recursively (--modify) setfacl -Rm g:<group>:rwx . # Remove specific ACL entries (--remove) setfacl -x u:<user> <file> # Remove entire ACL setfacl --remove-all <file> # Remove entire ACL setting recursively setfacl -Rb .
You need to login to post a comment.
