Skip to main content
Home
badllama.com
  • Search
  • Log In

Backup and Restore POSIX ACL's

bchavet's picture

Mon, 06/13/2011 - 19:42 by bchavet

It is possible to backup and restore POSIX ACL's using the standard getfacl and setfacl tools.

To backup the ACL's use getfacl

getfacl -R /some/path > backup.acl

Then, to restore the ACL's, use setfacl

setfacl --restore=backup.acl

This works great to copy ACL's from one server to another.

Powered by Backdrop CMS