[sllug-members]: Re: CHMOD Big Oops!

Jason Holt jason at lunkwill.org
Wed Oct 25 13:07:02 MDT 2006


On Wed, 25 Oct 2006, Justin Searle wrote:

>
>> Thankfully, this is not a production
>> system and my job/life does not depend on this (Thanks for the offer
>> Ryan!!).  This is merely a LAN box that is my
>> DHCP/DNS/NTP/SAMBA/Apache(local)/Debian Mirror/Local Backup box.
>
> If your not too concerned with getting everything perfect, you could quickly
> install another etch machine with roughly the same packages and copy the
> permission from the first and second level directories.  That should be
> enough in most cases.  At least your owners weren't changed.  That would have
> been MUCH worse.
>
> Or if you really want to have some fun, write a script to do it for you like
> suggested earlier.

Your script could also make use of the output of the "file" command to guess 
which files should be executable.

 								-J


More information about the sllug-members mailing list