Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

rm has "--no-preserve-root", which isn't quite "--no-seriously-delete-my-root-directory" but is at least heading in that direction.


Obligatory Cantrill reference https://youtu.be/wTVfAMRj-7E?t=5046. The whole series of these are well worth a listen.


if you squint, you can kind of see file permissions as implementing this pattern? rm /usr fails unless you sudo rm /usr




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

Search: