3 ms·
Depends on which version of `rm` you have. Newer versions (rm from coreutils 8.xx I believe) use no-preserve-root
by aroch 11y ago
Depends on which version of `rm` you have. Newer versions (rm from coreutils 8.xx I believe) use no-preserve-root
- profmonocle 11y agoAnd the question is tagged centos 7, which is from 2014 - far too recent to not have --no-preserve-root.
- JdeBP 11y agohttps://git.centos.org/log/rpms!coreutils.git/refs!heads!c7 https://git.centos.org/log/rpms!coreutils.git/refs!heads!c7 indicates that CentOS 7 has coreutils 8.22 . http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=34e3ea055721ecc72e6f636700e8ba7b58069c65 http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit... shows that GNU coreutils gained that option in 2003.