Date: Sun, 30 Apr 2000 10:21:33 -0700 (PDT) From: Derrick Baumer <bduk@earthlink.net> To: dean@odyssey.apana.org.au Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chmod Message-ID: <200004301721.KAA14747@earthlink.net> In-Reply-To: <Pine.BSF.4.21.0004301852490.11370-100000@odyssey.apana.org.au> (message from Dean Hollister on Sun, 30 Apr 2000 18:54:36 %2B0800 (WST))
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Dean Hollister <dean@odyssey.apana.org.au> > > 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. > > Any ideas would be very warmly appreciated. If you can find someone who isn't too paranoid about security issues, or someone who knows you that is running the same version of the system as you are, you can get them to execute ls -lR /usr > listing cat listing | mail you@email.address Then write a quick perl script to set your permissions to the same permissions as those shown in the file. I am personally a paranoid type, but I might be able to throw a script together to do the job for you. 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?200004301721.KAA14747>