mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-02 17:40:26 +00:00
Zip decompression throws "permission denied" when archive directory does not have write permission #29
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rcorre on 12/27/2024
Version
ouch 0.5.1
Description
ouch d
fails to decmpress an archive where a folder does not have write permission.unzip
is able to decompress the same archive.example.zip
Note that
unzip
does mirror the permissions in the resulting directory:I'm guessing that
unzip
unpacks everything in a directory before setting that directory's permisions, whereasouch
is setting permissions on a directory before it tries to write that directory's children.Current Behavior
No response
Expected Behavior
No response
Additional Information
No response