Oops.
Well, the damage seems contained now. Apparently root is supposed to own 90+ percent of the directories anyway. We'll see how the weekend goes..
I think I just hosed this machine completely.
Oh well, it was almost time to blow it out and reinstall it anyway. ;)
Apparently I did this wrong somehow:
from ~root
It seemed to take awhile, but I thought it just chewing on the bayesian spam database (ie .spamassassin) I had just cp'd from another users home. So I bg'd it. It started complaining about being unable to change /proc entries a few moments later, and died. I tried to mutt (to see if spama was working) and got told I couldn't read /var/mail/adric. Uh, oh.
I su'd up. Everything (before proc) is now owned by root. I fixed the /home dirs, and my mail dir, but .. there's no way of reverting the perms changes I inadvertedly made. Hosed. Another one lost to imprudent use of wildcards when root.
Uh,
techman_dsc? *smile* /home is okay, but the rest needs a fresh new coat of sarge ;)
I think I just hosed this machine completely.
Oh well, it was almost time to blow it out and reinstall it anyway. ;)
Apparently I did this wrong somehow:
from ~root
sudo chown -R root:root *
It seemed to take awhile, but I thought it just chewing on the bayesian spam database (ie .spamassassin) I had just cp'd from another users home. So I bg'd it. It started complaining about being unable to change /proc entries a few moments later, and died. I tried to mutt (to see if spama was working) and got told I couldn't read /var/mail/adric. Uh, oh.
I su'd up. Everything (before proc) is now owned by root. I fixed the /home dirs, and my mail dir, but .. there's no way of reverting the perms changes I inadvertedly made. Hosed. Another one lost to imprudent use of wildcards when root.
Uh,

Ooh, NASTY...
Now, another thing you need to know: this particular distro had this nasty thing about putting 'alias rm rm -f' in the standard .profile-- even for root. This was one of those custom distros, back in 1999, when there were about 2000 distros for everybody on the planet. I think (in all seriousness) that the main developers were Slovenian-- maybe that'll help me track it down.
Anyhow, how do you get rid of a bunch of directories that begin with the character "."?
By typing "rm .*", of course. Never mind those "." and ".." directories, right?
Right. Thank god for backups; I killed it just in time to save /home and parts of /usr-- nothing else.
Best of luck to you on getting everything un-fucked-up. I feel your pain, and I'm rooting for ya.
no subject
Now to see if I can make wietse's code virtual host mail domains. Whee!
no subject
-Rick
ptwarhol@yahoo.com You have 12 hours to comply