Grant or modify fine-grained access rules.

Section: Permissions Ownership and ACLs

Set ACL entries

bash
bash
setfacl -m u:alice:rwx shared/
Explanation

Helpful when one extra user needs access without changing ownership.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Permissions Ownership and ACLs
Show ACLs
Inspect Access Control Lists on a file or directory.
OpenIn sheetbashsame section
List permissions
Show permissions and ownership on files.
OpenIn sheetbashsame section
Change permissions with numeric mode
Set rwx permissions numerically.
OpenIn sheetbashsame section
Change permissions recursively
Apply a mode to a directory tree.
OpenIn sheetbashsame section
Show or set default permission mask
Control default modes for new files and directories.
OpenIn sheetbashsame section
Change owner and group
Set file owner and group.
OpenIn sheetbashsame section