Date: Sun, 30 Apr 2000 11:07:39 -0700 From: Doug Barton <DougB@gorean.org> To: Dean Hollister <dean@odyssey.apana.org.au> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: chmod Message-ID: <390C766B.E3FD7AE6@gorean.org> References: <Pine.BSF.4.21.0004301852490.11370-100000@odyssey.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Dean Hollister wrote: > > Hiyall, > > I have a Member who 'accidentally' did: > > chmod -R 777 /usr > > This has apparently broken a large number of items in his system. Does > anyone have suggestions on how to fix all of these permissions problems? > > Many files/programs are setuid owner or setuid group. Also, many of the > directory permissions appear wrong also. You could fix the directory permissions in one fell swoop with mtree, but that won't get you very far. Your best solution is to make world, assuming that your compiler still works (which it should). Keep in mind though that this won't fix the things in /usr/local, which might take some additional work. Good luck, Doug -- Excess on occasion is exhilarating. It prevents moderation from acquiring the deadening effect of a habit. -- W. Somerset Maugham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?390C766B.E3FD7AE6>