Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"--no-preserve-root" made me laugh. for testing unescaped calls to rm?


It's a bypass against a mitigation for an old trick which worked back in the day where you could watch someone self-nuke themselves off of IRC by convincing them to type rm -rf /


It is to mess with people calling rm * / in the directory

Good thing there is not really any reason to call rm like that


oh does that actually work? the * expanding a filename to an argument? I guess it all just ends up in argv




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

Search: