Options (4)
-m, --modifybooleanModify ACL of a file for user with read and write access
Example:
setfacl {{[-m|--modify]}} u:{{username}}:rw {{path/to/file_or_directory}}-d, --defaultbooleanModify default ACL of a file for all users
Example:
setfacl {{[-d|--default]}} {{[-m|--modify]}} u::rw {{path/to/file_or_directory}}-x, --removebooleanRemove ACL of a file for a user
Example:
setfacl {{[-x|--remove]}} u:{{username}} {{path/to/file_or_directory}}-b, --remove-allbooleanRemove all ACL entries of a file
Example:
setfacl {{[-b|--remove-all]}} {{path/to/file_or_directory}}Examples (4)
Modify ACL of a file for user with read and write access
setfacl [-m|--modify] u:username:rw path/to/file_or_directoryModify default ACL of a file for all users
setfacl [-d|--default] [-m|--modify] u::rw path/to/file_or_directoryRemove ACL of a file for a user
setfacl [-x|--remove] u:username path/to/file_or_directoryRemove all ACL entries of a file
setfacl [-b|--remove-all] path/to/file_or_directorymade by @shridhargupta | data from tldr-pages