[sllug-members]: Re: CHMOD Big Oops!
Will Aoki
waoki at waoki.org
Wed Oct 25 19:59:22 MDT 2006
On Wed, Oct 25, 2006 at 12:04:24PM -0600, Justin Searle wrote:
[snipped Debian Etch chmod -R 777]
> Or if you really want to have some fun, write a script to do it for you like
> suggested earlier.
... perhaps something like this:
apt-get install -f -s --reinstall `dpkg --get-selections | grep ' install' | cut -f 1`
(Note that that's a tab, not spaces, between "'" and "install'".)
That ought to fix most of the system - then, you can just
'find / -mode 0777 -print' to locate everything that needs to be fixed
by hand.
--
William Aoki waoki at waoki.org KD7YAF
More information about the sllug-members
mailing list