Re: System broken with chown -R as root

chris_at_nospam.com
Date: 07/18/04


Date: Sun, 18 Jul 2004 04:57:32 GMT

On Thu, 15 Jul 2004 18:26:27 -0000, Michael Heiming
<michael+USENET@www.heiming.de> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>NotDashEscaped: You need GnuPG to verify this message
>
>In linux.redhat nospam55 <nospam@y60ahoo.no> 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?

-Chris



Relevant Pages

  • Printer problem
    ... I still have printing problem with Windows and FM (it's ... laser printer, since I bought the copier, I have printing problem. ... fix text also don't print. ...
    (comp.databases.filemaker)
  • Re: Printing Problems (2nd request)
    ... If I cannot fix this printing problem, ... > abandon Linux for the hated world of Windoze!!! ...
    (Fedora)
  • Re: OpenSuSE10.2 & Firefox 3.0.4
    ... was wondering if there is a simple fix for the printing problem on 10.2 ... Every time i try to print from Firefox it crashes out. ... Firefox bug: ... These mention some unofficial packages to fix this. ...
    (alt.os.linux.suse)
  • Re: OpenSuSE10.2 & Firefox 3.0.4
    ... was wondering if there is a simple fix for the printing problem on ... either install 10.3 or 11.0 or update gtk to the ... opensuse site for the updated gtk no longer works ... If you want to try the updated GTK route fix, ...
    (alt.os.linux.suse)
  • Re: Print option is subdued in an open email.
    ... Go the users local profile and rename ... This will fix the printing problem. ...
    (microsoft.public.outlook.printing)