[ILUG] repair permissions

Proinnsias Breathnach proinnsias at linux.ie
Wed Mar 16 19:14:21 GMT 2005


On Wed, Mar 16, 2005 at 06:02:55PM +0000, Niall Walsh wrote:
> Gar wrote:
> >i  typed the command chmod 777 -R /    and pressed enter instead of tab.
> >is there any way (apps or commands) to change the permissions back to
> >what they were?
> >
> I suspect the answer is no and will worship any ILUG guru who knows 
> otherwise :-)
> 
Actually, depending on your distro there might be another outside chance
... *some* paranoid distros have a cron-job that runs nightly taking a
snapshot of the file permissions across the system and comparing it
against the previous night - to highlight changes (tripwire rings a
bell)

It *might* have enough information stored somewhere to allow a scripted
recovery.

Reinstall will probably be faster though !

Oh ...  and I *hope* this machine isn't currently on an internet
connection!!

P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20050316/2010f3e7/attachment.pgp


More information about the ILUG mailing list