Hi all,
just occured the following:
On one of my Linux notebooks, here Mandriva 2009.1, I had to wipe some
files with wipe version wipe-2.2.0-7mdv2009.1 out of the official
repository.
In /tmp I tried to wipe out some users' "dotted" directories, like /
tmp/.wine* using the syntax known from rm:
[root@linuxnb /tmp]$ wipe -r .*
Unlike rm wipe does NOT stop after erasing the files in the current
directory, but instead it jumps to / and continues there.
Though ".." fits the "-r .*" search pattern, everyone familiar with the
rm -rf syntax and behaviour may recursively "wipe" the whole partition,
resulting in a no longer usable system.
It is very annoying, now to see that even in 2001 there were bug reports
created about this item:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug1583
In the meantime I verified this on a different box using a "throwaway
account" (the box mentioned above needs to be reinstalled) and wipe
erases everything in the current directory as desired, and then goes
through / into /home and continues its destrucive task. As seen before.
- Be careful with wipe -
Best regards,
Markus
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
Replies