Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File system permissions not correctly extracted on Linux #7

Open
fireflycons opened this issue Dec 19, 2021 · 1 comment
Open

File system permissions not correctly extracted on Linux #7

fireflycons opened this issue Dec 19, 2021 · 1 comment

Comments

@fireflycons
Copy link
Owner

When extracting on Linux, permissions are set to rw-rw-rw, irrespective of what is stored in the zip

@fireflycons
Copy link
Owner Author

I found that this is down to the Host System ID set against the zip directory entries not being set to Unix. It seems the default behaviour of the Linux unzip program is to ignore the permission attributes if the Host System ID is not Unix.

Release 1.2.0 of SharpZipLib addresses this, making this fix possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant