Active crontal List ACL
By using this you can set access (r,w,x) permission to particular group users on files
1> How to check current ACL on file
#getfacl file.txt
2> set ACL on file
#setfacl -m u:userName:rw- file.txt ——-m(modify), u(user)
#setfacl -m g:hr:rw- file.txt ——g(group)
3> Remove ACL
#setfacl -x u:alex file.txt
#setfacl -x g:hr file.txt
Remove all ACL
#setfacl -b file.txt
Leave a Reply
You must be logged in to post a comment.