Backup and Restore Permissions in Linux
Inevitably every Linux administrator will eventually have to alter permissions and owerships, perhaps even FACLs. But what happens when your changes go awry? The problem is amplified if you were making changes recursively! Backup Permissions Fortunately there is a pretty simple method to backup the permissions, ownerships, and FACLs: getfacl -pR /path/to/backup > /root/perms.bak NOTE: … [Read more…]