Table of Contents

About

getfacl displays:

  • the file name,
  • owner, the group,
  • and the Access Control List (ACL).

If a directory has a default ACL, getfacl also displays the default ACL.

The setacl utility sets Access Control Lists (ACLs) of files and directories.

Steps

Backup

getfacl -R /my/path > permissions.acl

Restore

setfacl --restore=permissions.acl

Documentation / Reference