On Wed, Oct 24, 2012 at 11:44:59AM -0400, Derek Balling wrote:
> "-r" ... so it recursively runs the command against anything marked
> as a directory,... which ".." satisfies. So it would recursively go
> "into" the .. directory tree, and then delete whatever
> files/directories were in that directory. Lather, rinse, repeat. 

I am not aware of how the early implementations worked, but if this
were the case, wouldn't "rm -r somedir/" detect somedir/.. and then
progressively remove the entire filesystem?  Or was there an error in
the logic where it would ignore .. in the recursive walk down the
directories, but they forgot to ignore .. in the program's parameters? 

-- 
Jonathan Billings <[email protected]>
College of Engineering - CAEN - Unix and Linux Support
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to