Re:Man accidentally 'deletes his entire company' with one li...
by __david__ on Thursday April 14, 2016 @04:10PM
(#11499957)
Nope (almost never), which is why GNU rm requires the '--no-preserve-root' flag if you actually want to do that for some reason.
[ Parent
| on HN ]
Re:Man accidentally 'deletes his entire company' with one li...
by timseal on Thursday April 14, 2016 @04:36PM
(#11500137)
In 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?
Re:Man accidentally 'deletes his entire company' with one li...
by cyphar on Friday April 15, 2016 @03:10AM
(#11502715)
No, the default is to do nothing. The (default) refers to "treat root specially" not the flag.