If I run `pacman -Qkk`, it still shows thousands of permissions issues but doesn't tell me what the expected permissions are. If it at least told me the expected permissions, then I could pipe it into a python script similar to pacman-fix-permissions and just have it automatically fix everything.
Is there an option to have pacman print the expected permissions on these mismatched files?
EDIT:
`paccheck --file-properties --quiet | grep permission` ; I should be able to write a bash script for that easily.
]]>Due to a failed hard drive, I had to restore a system from backup, but for some reason the permissions weren't preserved in my backup drive (uid=1000,gid=1000 for all files in the filesystem). How can I rebuild the file permissions using the mtree?
I've tried the AUR package pacman-fix-permissions, but it fails with the error "can't open or download 'acl' package".
edit: there also used to be a shell script on xgit but the url is dead
]]>