On Fri, 2002-04-19 at 20:14, Lyvim Xaphir wrote:
> 
> Just theoretically, let's assume that a real good friend of mine
> accidentally chmod'ded all file permissions from the root...to something
> else other than what they were originally.  Of course this wasn't me
> personally; you know I wouldn't do something like that. <g>
> 
> Is there a utility available that would make it possible to salvage the
> filesystem by resetting all permissions back to factory settings?  Or a
> script, even?
> 

I just love those postings that begin with the "theoretical" preface.
You just know some poor bugger has stepped off into a bag of dog shit.
LX, my good man, are you saying you have changed file ownership (chmod)
on every file that originally belonged to root? Maybe you are just
talking about the 'rwx' file permissions. Either case provides you with
a formidable task to correct. Can you do any scripting in perl? The only
reason I mention perl, there are many other languages to use, is because
this is the one I am most comfortable using. Unless someone has a ready
made script for your particular situation, you may need to crack some
scripting books. Good luck, buddy

Dr John
The Night Tripper
-- 
J. Craig Woods
UNIX/NT Network/System Administration

-Art is the illusion of spontaneity-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to