-
Notifications
You must be signed in to change notification settings - Fork 13
Unpacking doesn't keep file permissions #1
Comments
Can you be more specific? Which provider would be a good starting point. |
I have a zip file which contains among other file types, shell scripts. Running an unzip command preserves their execute permission. Executing poise_archive doesn't. |
Zip files are always handled by RubyZip, and that API I am calling does check file permissions inside RubyZip (except setuid and setgid bits for safety). Are you 100% sure the mode bits in the zipfile itself are correct? |
I have looked at the code. It looks like file permissions are taken care of. But, it doesn't for my zip file. I can send you the zip file to reproduce the problem. |
If you could attach the file to this ticket that would be perfect :) |
Will take a look, thanky! |
Can you give me an example of a script that is being unpacked incorrectly (or is it all of them)? |
Never mind, it's all of them. |
Fix was released in 1.2.1. |
Got it. Worked perfectly. |
No description provided.
The text was updated successfully, but these errors were encountered: