Re: System broken with chown -R as root
Date: Sun, 18 Jul 2004 04:57:32 GMT
On Thu, 15 Jul 2004 18:26:27 -0000, Michael Heiming
>-----BEGIN PGP SIGNED MESSAGE-----
>NotDashEscaped: You need GnuPG to verify this message
>In linux.redhat nospam55 <firstname.lastname@example.org> suggested:
>> some weeks ago I said inadvertently ' chown -R /* user1:user1 ' as root ; the
>> has disappeared. reinstalling the printer didnt help; finally I also scrambled
>> with chown and chmod something else, also in /var/spool/lpd
>> I m afraid I must reinstall the system because of this printing problem, but
>> it would be philosophically more satisfactory to fix the problem with chown and chmod
>Now it would be easier to use your package manager:
> rpm -qa | xargs rpm --setperms
> rpm -qa | xargs rpm --setugids
>'man rpm' for more info.
>You need to fix /home manual.
The man page for rpm doesn't elaborate on --setperms and --setguids.
I assume they repair the uids and perms?