Backup and restore file permissions, owners and groups
This script allows you to backup and restore file properties. It backups recursively the permissions, owners and groups of files and sub folders (including suid, sgid and sticky bit). The program also backups permissions of hidden files and hidden folders. It can handle file names with blanks. Two executable shell scripts will be created which can be run independently to restore the data. One for the file permissions, the other one for the owners and groups.