The setfacl command

set file access control lists 2 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Options in the examples

-d, --default
All operations apply to the Default ACL.

Examples

setfacl -m u:ana:r /srv/reports/q3.txt
setfacl -d -m u:ana:rw /srv/reports

Lessons that use setfacl