Linux Commands Part 13 - User ACL
- Mukesh Chanderia
- Feb 27, 2021
- 1 min read
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
ความคิดเห็น