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
ZipArchive extract lost permission on linux #12730
Comments
|
A simple fix will be possible (IMHO not suitable for stable version) But this is an important behavior change |
|
WIP: PR #12739 |
|
|
Hi @remicollet, thanks for trying this. I'll clarify what I saw on your PR for later reader, if have a directory like this: Then suddenly you can't delete directory |
|
FYI for the future add a note in documentation about this |
Description
Hello, I notice when using ZipArchive on linux, it lost permission of the file, for example, this file:
https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip
When I use
unzipcommand line tool:File
chromedriverhave permission0755, however when use this code:Now
chromedriverhave permission0644, meaning - it lost information previously there and I can't find how to preserve that info (permission) uzing ZipArchive api.The text was updated successfully, but these errors were encountered: