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

GNU rm I believe requires the --no-preserve-root flag these days, to prevent that command from happening by accident


The shell expands

/*

, not rm.

It expands to /bin /etc /lib and such and is not covered by the sanity check.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: