ACL Permission in Linux
Create directory called as /data
mkdir /data
Set acl permission on directory for user
setfacl -m user:username:permissions /directory
or,
setfacl -m u:username:permissions /directory
Set acl permission on directory recursively on user
setfacl -R -m u:username:permissions /directory
Get status of acl directory
getfacl /directory
Set acl permission on group
setfacl -m g:groupname:permissions /directory
Remove specific permission
setfacl -x username /directory
Remove all permission
setfacl -b /directory
0 comments:
Post a Comment