[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stupid admin tricks
Wim Vandeputte writes:
> Yes, but you actually have to have experienced it ONCE to know how it
> feels and *WHY* you should be carefull ;-)
>
> Right Marc? ;-)
Oh, this wasn't the first time... just the first time in the last 5 years
or so. Seems I have to remind myself exactly how painful such stupid
tricks are about that often. I should be good until 2005 :-)
And for Marc Espie: the exact sequence was
$ cd some/old/snapshot/dir
$ various things
$ ls usr
lib
$ sudo rm -rf /usr/lib
<thinks... that's stupid, I want to remove usr, too>
$ sudo rmdir usr
It's not until the second sudo fails because it can't find a shared lib that
I took a closer look at the first sudo.
// marc