Hacker News new | past | comments | ask | show | jobs | submit login

Many years ago I wrote a kernel module for my own use in response to a similar incident. It checked to see if the calling process was deleting a file called ".landmine" and killed the calling process if it was.

Far from perfect - it depended on the order of deletion - but a more general solution than preserve root. Of course it still requires the user to mark things they consider "important".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: