News for hackers. Stuff that matters.
Re:We lost 54k GitHub stars by johnwheeler on Thursday April 14, 2022 @07:25PM (#31034781)
rm -rf /

gives no such warnings, and maybe it should, or maybe people should be _very_ careful when typing rm -rf in front of anything.

Re:We lost 54k GitHub stars by mjyut on Friday April 15, 2022 @02:50AM (#31037255)
> GNU rm normally declines to operate on any directory that resolves to /. https://www.gnu.org/software/coreutils/manual/html_node/Trea...
Re:We lost 54k GitHub stars by alecbz on Thursday April 14, 2022 @10:08PM (#31035954)
It’s both, but mostly the first one. rm’s default behavior is terrible design. Just because UNIX does something doesn’t make it good.