top of page
Writer's pictureMukesh Chanderia

Linux Commands Part 13 - User ACL

Updated: Aug 21, 2021

setfacl -m (modify) u (user) : sarah:r-x /directory


To see which user has been set permission on directory India

getfacl /india


To delete complete ACL associated with directory

setfacl -b /India


To remove particular user from ACL

setfacl -x u:harry: /india


Create a new group

groupadd groupname


Add members to group


useradd group-user

usermod -G groupname group-user


Now set ACL on directory for group permission

setfacl -m g:groupname:rwx /directory



4 views0 comments

Comments


bottom of page