commit | 58c1b96165e525808280502581700909d6371715 | [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 13:29:03 2015 -0700 |
tree | a6c12f73a322ad028be04c531d59bd118f2fa1cf | |
parent | 74a5606fb409bae3a7212d58e840e6b447f14b22 [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: I8c0190362c60d7d78965ecfe5e484f8398ddc5f2 (cherry picked from commit 97734654099431bd6c5bd2eeb5d34af0e2dc03e7)