Lino Mastrodomenico <l.mastrodomen...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8464> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com