Permissions and owners

The getfacl command

Shows the access control list (ACL) of a file or folder.

Syntax

getfacl archivo

Most useful options

-RRecursive through folders

Copy-ready examples

$ touch informe.txt && getfacl informe.txtSee the ACLs

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Even with no ACL, getfacl shows the basic permissions as entries.

Related commands

FAQ

What is the mask line?

The effective maximum limit of permissions for the named entries.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course