On Tue, Dec 30, 2003 at 12:14:28AM +0100, Alexandr Malusek wrote:
"Keith Gibbons, StarDate Computers." <stardatecomputers@eircom.net> writes:
I have done a stupid thing and issued a chmod +x * -R command while in the / directory.
You may experiment with "rpm -Va" or
rpm -q --queryformat '[%{FILEMODES:perms} %{FILENAMES}\n]' packagename
For instance
rpm -q --queryformat '[%{FILEMODES:perms} %{FILENAMES}\n]' rpm -rwxr-xr-x /bin/rpm -rwxr-xr-x /etc/init.d/rpmconfigcheck ...
There's a lot of work there... :-P Without having this completely thought through, wouldn't just running SuSEconfig rectify most of it? I mean there's /etc/permissions* which basically holds precisely permissions info... And I've often enough gotten pretty frustrated by SuSEconfig changing permissions back, until I found out why... HTH /Jon -- Whatever rocks your boat!