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
Comments