Skip to content

bpo-38886: add option to zipfile.writestr to open permissions#17327

Open
raphaeldussin wants to merge 2 commits into
python:mainfrom
raphaeldussin:zipfile_perm_fix
Open

bpo-38886: add option to zipfile.writestr to open permissions#17327
raphaeldussin wants to merge 2 commits into
python:mainfrom
raphaeldussin:zipfile_perm_fix

Conversation

@raphaeldussin
Copy link
Copy Markdown

@raphaeldussin raphaeldussin commented Nov 21, 2019

when writing files inside zip archive, permissions default of 600 can be too restrictive.
This PR adds an optional argument to allow to choose the desired permission

https://bugs.python.org/issue38886

@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@raphaeldussin

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants