DragonFly BSD
DragonFly submit List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rm -I patch (Re: Protection from the dreaded "rm -fr /")


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Wed, 6 Oct 2004 10:19:26 +0200

-On [20041006 08:52], Matthew Dillon (dillon@xxxxxxxxxxxxxxxxxxxx) wrote:
>    But the worst occured on one of the SGI boxes where rm decided to
>    follow symlinks in a particular situation (I forget exactly which), and
>    a sysop trying to remove a user's directory wound up destroying, well,
>    a huge amount of data before he realized something was wrong and hit
>    ^C.

I am not sure which OS it was I was messing with recently, could've been
Solaris or Linux, but I did a chown with -R on a dir, and it happily did the
ascending through .. as well. :-\

Spoilt by BSD...

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
I dream of gardens in the desert sand...



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