The latest version of safe-rm removes an unnecessary dependency on the English Perl module. This makes safe-rm more robust during upgrades of the core Perl packages.
Thanks to all of those who have reported problems on the Debian bug tracker!
What is safe-rm?
Safe-rm is a safety tool intended to prevent the accidental deletion of important files by replacing /bin/rm with a wrapper, which checks the given arguments against a configurable blacklist of files and directories that should never be removed.
Users who attempt to delete one of these protected files or directories will not be able to do so and will be shown a warning message instead:
$ rm -rf /usr Skipping /usr
(Protected paths can be set both at the site and user levels.)
Recovering important files you deleted by mistake can be quite hard. Protect yourself today by installing safe-rm and reduce the likelihood that you will need to contact a data recovery service!
(Linux/UNIX source code).2009-10-15
Subscribe to:
Post Comments (Atom)



2 comments:
Is there a tracker specific to this project for reporting bugs? I'm not a Debian user so I don't already have an account there. safe-rm works for me but I get this message everytime I run it (my shell is zsh, if that matters):
Insecure $ENV{ENV} while running with -t switch at /home/titan/joeg/etc/safe-rm-0.8/safe-rm line 110.
Insecure dependency in system while running with -t switch at /home/titan/joeg/etc/safe-rm-0.8/safe-rm line 110.
Hi Joseph,
You can feel free to email me any bugs/suggestions/problems at francois@safe-rm.org.nz
I haven't been able to reproduce your problem on zsh, so I'll need more details to do that.
One thing you can try (please let me know if it works) is to add this line around line 100:
local $ENV{ENV} = q{};
Cheers,
Francois
Post a Comment