[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I hate it when that happens...



On Sunday 01 August 2004 09:44 pm, William Ballard wrote:

> I found a whole new way to screw up today, but I bet it's in some list
> somewhere:
>
> Instead of:
>
> pipe-command args | /pipe/to/command
> pipe-command args > /pipe/to/command
>
> I did it on Win32, so the dir was writable.  Boom.  Instantly clobber
> the executable, restore from backup.

Running Win32 was probably your first mistake.  :)  Reminds me of the time I 
did a DEL *.* in C:\WINDOWS\COMMAND by accident one day.  Oops.

Which brings up another thing.  Juha was talking about doing an rm -rf * in 
the wrong xterm...  Well, one of the first things I did in Linux was show off 
for my wife how Linux has file permissions that prevent ordinary users from 
doing stupid things (like running DEL *.* in C:\WINDOWS\COMMAND :).

So I did a little cd /&&rm -rf * and showed her the impressive stream of 
permission denied messages.  Until it iterated into /home.  Oops.

-- 
Michael McIntyre  ----   Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/



Reply to: