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

POSIX: unlink() returns EPERM (-1) on failure. #1467

Open
iMoD1998 opened this issue Apr 10, 2024 · 0 comments
Open

POSIX: unlink() returns EPERM (-1) on failure. #1467

iMoD1998 opened this issue Apr 10, 2024 · 0 comments
Assignees

Comments

@iMoD1998
Copy link

*Describe the bug
Similar to #1442, unlink returns EPERM on failure resulting in some implementations of tar (specifically in busybox) to fail extracting. This likely due to tar trying to remove old files before extracting and if this fails it assumes directory isn't writable due to EPERM.

Expected behavior
Unlink should return proper error code such as ENOENT when a directory doesnt exist etc.

@iMoD1998 iMoD1998 changed the title POSIX: unlink() returns EPERM on failure. POSIX: unlink() returns EPERM (-1) on failure. Apr 10, 2024
@elicn elicn self-assigned this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants