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
Note that unzip does mirror the permissions in the resulting directory:
❯ tree -p out/
[drwx------] out/
└── [drwx------] example
└── [dr-x------] foo
└── [-rw-------] bar
I'm guessing that unzip unpacks everything in a directory before setting that directory's permisions, whereas ouch 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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: