commit | 97734654099431bd6c5bd2eeb5d34af0e2dc03e7 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed May 20 09:32:18 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Wed May 20 12:18:55 2015 -0700 |
tree | 8141fc486d198f5ccd417dda5e5b38ca15b17171 | |
parent | c3b58d4a8fd89df6122b7b2fdcd7975dc6e2c45b [diff] |
Fix the permission setting in common.ZipWriteStr() When passing a ZipInfo instance to common.ZipWriteStr(), the external_attr attribute should not be overwritten unless specified. We didn't have the issue previously because we were calling ZipFile.writestr() directly until [1] merged. [1] commit 2ed665a033c587b276b1615516e5354e2ace47cd. Bug: http://b/21309935 Change-Id: I374ccd40c174ff9259844f38bdbf187dfe82552d