This tool, safe-rm, ships with a default system-wide configuration file (/etc/safe-rm.conf), but each user can supplement that list of „protected“ directories and files by adding lines to ~/.safe-rm.
Debian and Ubuntu packages are available from the usual places.
Klingt nuetzlich, grad bei 242 Spaten haben root Systemen.
via
So etwas würde meinen Kommilitonen sicher gefallen..