[New-bugs-announce] [issue38886] permissions too restrictive in zipfile.writestr

Raphael Dussin report at bugs.python.org
Thu Nov 21 15:01:41 EST 2019


New submission from Raphael Dussin <raphael.dussin at gmail.com>:

zipfile.writestr write with permissions 600 by default and there is no way to override permissions. This can be an issue when writing zip archive of data one want to share (e.g. zarr zipstore, see https://github.com/zarr-developers/zarr-python/pull/517)


Proposed fix in upcoming PR is to add the desired permission as an optional arg.

----------
components: Library (Lib)
messages: 357210
nosy: rdussin
priority: normal
severity: normal
status: open
title: permissions too restrictive in zipfile.writestr
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38886>
_______________________________________


More information about the New-bugs-announce mailing list