News for hackers. Stuff that matters.
Re:The classic Unix horror story by cdavid on Friday August 20, 2010 @09:28PM (#1622041)
In the same spirit, I once removed a chroot tree, forgetting I bind mounted /etc into it.

It took me half a day to recover from that.

Another one, even more stupid, is to recover a "backup" of /var, done without the proper rights to it. I noticed the problem after a lot of weirds errors cropping in. This one I did not recover - after a few hours, I ended up deciding that reinstalling linux on my machine would be faster and more reliable.

Re:The classic Unix horror story by nitrogen on Saturday August 21, 2010 @05:43AM (#1622528)
I've found it's useful to look through the man pages of commonly-used tools for an option to prevent traversing filesystems.