Environment: Ubuntu 20.04, main branch (git commit 00d1866), GNU coreutils v8.30
Steps to reproduce:
mkdir -m a-r -p a/unreadable
rm -rf a
What happens now: uutils rm terminates with an error message, removing neither a nor a/unreadable:
rm: cannot remove 'a': Permission denied
What I expected to happen: GNU rm terminates successfully and removes both directories.
Notes: this is causing a failure in GNU test file tests/rm/empty-inacc.sh.