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
I am using packmatic to create a zip on the fly downloading files from AWS S3.
After unzipping the archive, I see the files have mode 000 which makes the file unreadable.
$ unzip export.zip
$ ls -l export/test.csv
---------- 1 root root 875 Jan 9 17:38 export/test.csv
I am using Elixir 1.17.3 on OTP 27.2.
I saw there were changes in OTP 27.1 in the zip module:
# HIGHLIGHTS
- The `zip` module has been updated with support for:
- zip64 archives - Archives larger than 4GB or with more than 2^32 entries.
- extended timestamps - Higher resolution and in UTC.
- UID/GID - Save and extract the original UID/GID.
- Fixes so that permission mode attributes are correctly read and set for
files in archives.
- zip:list_dir/2 now also returns directories, not only files. (You can
disable this behaviour by using the option `skip_directories`).
Various bugs in the original implementation have also been fixed, such as:
- Correctly encode and decode the DOS timestamps for entries within an archive
(that is the non-extended timestamp).
- Fix DOS timestamps to be set to localtime instead of UTC (use extended
timestamps for UTC timestamps).
- Use the unix file attributes read from disk when creating archives instead
of setting everything to 644.
Could you please look into this? Thx
The text was updated successfully, but these errors were encountered:
Thank you for working on this amazing library!
I am using
packmatic
to create a zip on the fly downloading files from AWS S3.After unzipping the archive, I see the files have mode
000
which makes the file unreadable.I am using Elixir 1.17.3 on OTP 27.2.
I saw there were changes in OTP 27.1 in the
zip
module:Could you please look into this? Thx
The text was updated successfully, but these errors were encountered: