ACL permission in Linux

 

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




Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment