3 ms·
Nope (almost never), which is why GNU rm requires the '--no-preserve-root' flag if you actually want to do that for some reason.
by __david__ 11y ago
Nope (almost never), which is why GNU rm requires the '--no-preserve-root' flag if you actually want to do that for some reason.
- megacity 11y agoWhat are the almost never situations? I'd be super interested, because I cannot think of one at all :D
- randyrand 11y agoCops / assailant about to bust down your door and its all you know / have time for?
- timseal 11y agoIn the manpage for rm, I see "--no-preserve-root do not treat ‘/’ specially (the default)". For real? The default is to do the worst thing?
- cyphar 11y agoNo, the default is to do nothing. The (default) refers to "treat root specially" not the flag.