Backing up & Restoring Permissions in Linux with GetFACL and SetFACL
Use getfacl and setfacl. Will work even if you dont run your filesystem with “acl” mode. “acl” mount option (Available by installing acl program) gives more permissions than your standard u/g/o r/w/x.Read More…