You are not logged in.
Pages: 1
Is there any way to check at one go correctness of permissions for files and directories in root directory and subdirectories?
At least permissions of these more critical from security point of view.
For instance in case of some faulty routine chmod done on /
"Those who don't know history are doomed to repeat it." Edmund Burke
Offline
Not sure if there any program that will autocheck the permissions' validity - you probably have to do it manually - http://www.faqs.org/docs/securing/chap5sec52.html
Some stuff are vital, you don't wanna disable the S*ID on xorg for example.
Offline
If you keep your pacman cache, reinstalling all your installed packages may show you some warnings that permissions on some directories are not the same as in the package, and the file permissions are replaced by those in the packages. But be aware that the naive way of doing that won't preserve the 'installed as dependency' status.
Offline
If you keep your pacman cache, reinstalling all your installed packages may show you some warnings that permissions on some directories are not the same as in the package, and the file permissions are replaced by those in the packages. But be aware that the naive way of doing that won't preserve the 'installed as dependency' status.
Actually, reinstalling a package should preserve that status. It won't preserve it only if you remove it with -R and install it again with -S.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1