setfacl

The commands that set (setfacl) and show (getfacl) a file's access control list.

In more detail

setfacl -m adds or changes entries, -x removes one, -b removes them all and -d works on a directory's default entries. getfacl prints every entry with the effective rights the mask allows.

Example

setfacl -m u:audit:r payroll.csv lets one extra user read the file.

Related terms

Taught in

References

Certification courses