-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
ZipTask stores directories with 777 permission #1817
Milestone
Comments
leagris
added a commit
to leagris/phing
that referenced
this issue
Apr 27, 2024
Fix phingofficial#1817 Stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
This was referenced Apr 27, 2024
leagris
added a commit
to leagris/phing
that referenced
this issue
Apr 27, 2024
Fix phingofficial#1817 Stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
leagris
added a commit
to leagris/phing
that referenced
this issue
Apr 28, 2024
Fix phingofficial#1817 When file permissions are supported, stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
leagris
added a commit
to leagris/phing
that referenced
this issue
May 2, 2024
Fix phingofficial#1817 When file permissions are supported, stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
leagris
added a commit
to leagris/guide
that referenced
this issue
May 5, 2024
See: - Implementation: phingofficial/phing#1820 - Issue: phingofficial/phing#1817
leagris
added a commit
to leagris/phing
that referenced
this issue
May 31, 2024
Fix phingofficial#1817 When file permissions are supported, stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
leagris
added a commit
to leagris/phing
that referenced
this issue
Jul 9, 2024
Fix phingofficial#1817 When file permissions are supported, stores directories's original permissions as `ZipArchive::OPSYS_UNIX` `ExternalAttribute`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When creating a zip archive with the Zip task, directory permission is 777 inside the archive.
Steps To Reproduce
Expected behavior
Store original permissions bits or no extended attributes at all like it can be done with the zip command
-X
optionScreenshots / terminal output
If applicable, add screenshots or terminal output to help explain your problem.
list of extracted archive made with the ZipTask:
This over permissive dangerous permissions on directory is not wanted at all.
Additional context
creating the very same zip archive with the
zip
command creates a zip archive that extracts perfectly well as expected:Workaround with the
zip
command:The text was updated successfully, but these errors were encountered: