Skip to main content
Kill -9 Club
Sign in

getfacl

AccountsPackage: acl

Prints a file's full access control list, what the + in ls -l announces without detailing. Keep one next to a backup: rsync -a and tar without options do not copy ACLs.

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

getfacl -R
Walks a tree recursively and writes out every ACL. getfacl -R produces a text snapshot to keep beside an archive: it restores nothing on its own, but shows what rsync -a and tar without --acls left behind.

Lessons that teach it