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
Hey there - first off, thanks for the unzip fork, definitely appreciated!
My only concern is that I'm trying to extract .zip files containing applications, on OSX & Linux. For those to work, the executables need to have the right permissions (notably, the executable bit must be set).
In the original ZIP format, there was no way to do that - but later on, OSX & Linux versions of zip & unzip added support for it by (ab)using the 'external attribute' field in the ZIP entry table.
Do you have any pointers on how I would go about retrieving the external file attributes for a zip entry? It doesn't seem to be included in the 'entry' event of unzip.Parse().
The text was updated successfully, but these errors were encountered:
After further investigation, it seems parser.js already has that information! Here's how I was able to display permissions: fasterthanlime@5a21d60
Any idea how to integrate it into the current API? it seems 'file' and 'central directory header' entries are distinct, so perhaps a different event would make sense?
It's probably not the best interface though, so I'm looking forward to get feedback from you on how this could be integrated in the main repo. I'd prefer not to keep our fork around for too long!
Hey there - first off, thanks for the unzip fork, definitely appreciated!
My only concern is that I'm trying to extract .zip files containing applications, on OSX & Linux. For those to work, the executables need to have the right permissions (notably, the executable bit must be set).
In the original ZIP format, there was no way to do that - but later on, OSX & Linux versions of zip & unzip added support for it by (ab)using the 'external attribute' field in the ZIP entry table.
See for reference:
Do you have any pointers on how I would go about retrieving the external file attributes for a zip entry? It doesn't seem to be included in the 'entry' event of
unzip.Parse()
.The text was updated successfully, but these errors were encountered: