diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2008-07-25 19:58:18 +0000 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-07-25 19:58:18 +0000 |
| commit | 6e1df8d0d44817a7b9810c7d8b5c81423fb52cdb (patch) | |
| tree | 588d5f9bb3fd88f16e1ec09ea3556dde21647f4f /Lib/zipfile.py | |
| parent | c2542e986d0070840e8e8833268b9d5c9f297f7c (diff) | |
| download | cpython-git-6e1df8d0d44817a7b9810c7d8b5c81423fb52cdb.tar.gz | |
Merged revisions 65235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65235 | antoine.pitrou | 2008-07-25 21:42:26 +0200 (ven., 25 juil. 2008) | 3 lines
#3394: zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix
........
Diffstat (limited to 'Lib/zipfile.py')
| -rw-r--r-- | Lib/zipfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index fda990385d..e4bc019d1b 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -1075,6 +1075,7 @@ class ZipFile: zinfo = ZipInfo(filename=zinfo_or_arcname, date_time=time.localtime(time.time())[:6]) zinfo.compress_type = self.compression + zinfo.external_attr = 0o600 << 16 else: zinfo = zinfo_or_arcname |
