Niels Gustäbel <[EMAIL PROTECTED]> added the comment:
I agree regarding the os.open call in MH.__setitem__. It does not
include the O_CREAT flag, so the mode would never be used.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Niels Gustäbel <[EMAIL PROTECTED]> added the comment:
Of course you are right...
Added file: http://bugs.python.org/file11042/mailbox-fix-w-tests-v2.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Niels Gustäbel <[EMAIL PROTECTED]> added the comment:
I've added tests for all mailbox formats and the maildirfolder marker,
so I think all aspects of the fix are covered. The permissions of
temporary files and lock files are not checked, but they are basically
all using the _creat
Niels Gustäbel <[EMAIL PROTECTED]> added the comment:
The problem is not limited to mboxes but also applies to maildirs. Any
message file created inside a maildir has execute permissions set as
well because the same function _create_carefully() is used.
Changing the umask is not an