You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*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.
The text was updated successfully, but these errors were encountered:
iMoD1998
changed the title
POSIX: unlink() returns EPERM on failure.
POSIX: unlink() returns EPERM (-1) on failure.
Apr 10, 2024
*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.
The text was updated successfully, but these errors were encountered: