Hacker News new | ask | show | jobs
by IntelMiner 2912 days ago
GNU rm I believe requires the --no-preserve-root flag these days, to prevent that command from happening by accident
1 comments

The shell expands

/*

, not rm.

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