Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm: -r option fails to remove unreadable dir #7033

Open
jfinkels opened this issue Dec 30, 2024 · 2 comments
Open

rm: -r option fails to remove unreadable dir #7033

jfinkels opened this issue Dec 30, 2024 · 2 comments
Labels

Comments

@jfinkels
Copy link
Collaborator

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.

@r3yc0n1c
Copy link

r3yc0n1c commented Jan 3, 2025

hi, i'd like to work on this

@cakebaker
Copy link
Contributor

@r3yc0n1c sure, go ahead :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants