[issue8464] tarfile creates tarballs with execute permissions set

Lino Mastrodomenico report at bugs.python.org
Mon Apr 19 22:19:28 CEST 2010


Lino Mastrodomenico <l.mastrodomenico at gmail.com> added the comment:

I think 0666 is correct because os.open() does a bitwise AND between this value and the bitwise inversion of the umask, something like oct(0666 & ~umask).

Since the umask is usually 022 octal (18 decimal), the actual permission on disk should be 0644 as expected.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8464>
_______________________________________


More information about the Python-bugs-list mailing list