--- /usr/bin/safe-rm~ 2010-12-22 13:52:57.000000000 +0100 +++ /usr/bin/safe-rm 2012-10-23 11:46:37.221150031 +0200 @@ -90,6 +90,8 @@ # Check against the blacklist if ( exists $protected_dirs{$normalized_pathname} and not -l $pathname ) { print {*STDERR} "safe-rm: skipping $pathname\n" || 0; + print "Stopping rm process! Use /bin/rm instead if you\nREALLY want to delete this object.\n"; + exit 1; } elsif ( $pathname =~ /(.*)/xms ) { # pointless untainting push @allowed_args, $1;