coreutils
coreutils copied to clipboard
``rm`` : Removes parent directory
Coreutils
mkdir d
rm -rf d/..
This removes all the files in parent directory of d.
GNU
mkdir d
rm -rf d/..
This fails and produces the error message below.
rm: refusing to remove '.' or '..' directory: skipping 'd/..
This is related to the rm/r-4.sh compatibility test.
I'll take this one