setfacl Linux Command
Sets or modifies the Access Control List (ACL) for a file or directory.
What does setfacl do?
Sets or modifies the Access Control List (ACL) for a file or directory.
Syntax
setfacl [options] acl_spec filePractical example
setfacl -m u:john:rw file.txtRelated Permission Commands
getfaclDisplays the Access Control List (ACL) of a file or directory.
sudo -lLists the allowed and forbidden sudo commands for the current user.
umaskSets the default permission mask for newly created files and directories.
visudoSafely edits the /etc/sudoers file to configure sudo permissions.
chgrpChanges the group ownership of a file or directory.
chmodChanges the read, write, and execute permissions of files and directories.