diff options
author | Lars Gustäbel <lars@gustaebel.de> | 2010-04-29 15:42:25 (GMT) |
---|---|---|
committer | Lars Gustäbel <lars@gustaebel.de> | 2010-04-29 15:42:25 (GMT) |
commit | f7317f9efcc6a109e702984b595fbf61895285e3 (patch) | |
tree | dfb7f03518060c4e13c78f6f793fc188ecb91823 /Lib/tarfile.py | |
parent | 7007d4665f2630c16625c980f82a6aff3364decc (diff) | |
download | cpython-f7317f9efcc6a109e702984b595fbf61895285e3.zip cpython-f7317f9efcc6a109e702984b595fbf61895285e3.tar.gz cpython-f7317f9efcc6a109e702984b595fbf61895285e3.tar.bz2 |
Merged revisions 80618 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80618 | lars.gustaebel | 2010-04-29 17:37:02 +0200 (Thu, 29 Apr 2010) | 10 lines
Merged revisions 80616 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80616 | lars.gustaebel | 2010-04-29 17:23:38 +0200 (Thu, 29 Apr 2010) | 4 lines
Issue #8464: tarfile.open(name, mode="w|") no longer creates
files with execute permissions set.
........
................
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index ef316b5..125d95d 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -349,7 +349,7 @@ class _LowLevelFile: }[mode] if hasattr(os, "O_BINARY"): mode |= os.O_BINARY - self.fd = os.open(name, mode) + self.fd = os.open(name, mode, 0o666) def close(self): os.close(self.fd) |