getfacl / setfacl
CautionPOSIX ACLs
getfacl <path>
Reads/sets fine-grained ACLs beyond owner/group/other — grant one extra user without regrouping.
Examples
setfacl -R -m u:app:rX /srv/dataGrant read to one user
Syntax
getfacl <path> / setfacl -m u:<user>:rwx <path>
Before you run it
A '+' in ls -l marks ACL-bearing files.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store