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