Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hexchain308yActually it's coreutils (Linux version) that has saved you. The "rm" utility refuses to delete root without a special argument.
And I also heard that mac's coreutils (more like BSD version) does not have such protection? Correct me if I'm wrong. -
Really, how often do you people need to delete System32, or do rm -rf /? Is that like a daily thing? I have never had to do that in 20 years?!
-
nmunro31908y@hexchain I THINK that the Mac has a special layer of protection that prevents you from doing things like access files outside of your user area (even as root) without changing some default security setting, although I may be wrong...
-
Protip: Debian has a "saferm" package, that prevents you from deleting important directories
-
@Mitch377 and the complain about Linux because you did something stupid and it didn't stop you? It can't win either way can it? :P
Related Rants
I almost did rm -rf / as root on my computer, but Ubuntu actually stopped me from doing it, even as root, saying it was too dangerous. Props, Ubuntu. You saved my hard drive.
undefined
ubuntu