(Reply) [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

[personal profile] gerald_duck Wed 2007-07-25 10:44
What I had in mind was:
  • rm -r starts deleting stuff
  • It determines that foo is a subdirectory
  • A Bad Person quickly does mv foo old-foo; ln -s /home/victim foo
  • rm -r descends into foo, which is now in reality the victim's home directory
  • It recursively deletes everything it finds there.
I suspect the GNU version, at least, checks this hasn't happened. But I'm not sure, and I really ought to know.
Link Read Comments
Reply:
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting