3 ms·
SUSv4 requires that "if an operand resolves to the root directory, rm shall write a diagnostic message to standard error and do nothing more with such operands"
by jwilk 4y ago
SUSv4 requires that "if an operand resolves to the root directory, rm shall write a diagnostic message to standard error and do nothing more with such operands":
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/r...
But last time I checked, busybox's rm happily removed everything. :-/