GitHub repository: sycomix/restore-ubuntu-default-file-permissions-and-owners
Description: Ubuntu permissions: repair to default package state, backup to a file and restore from file.