This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author olau
Recipients akuchling, doko, olau, pitrou
Date 2010-12-01.13:40:40
SpamBayes Score 1.9910984e-09
Marked as misclassified No
Message-id <1291210844.69.0.948602362952.issue7359@psf.upfronthosting.co.za>
In-reply-to
Content
Just got bitten by this too.

Renaming is good and all, but as far as I can tell, it will never work with the system spool. It's not just that you can't create a temporary file in the directory, you can't rename files into it either. If I create an empty file somewhere and try to rename it to overwrite my mailbox, I get a permission denied. Sad. :(

So I think you have to bite the bullet and write directly to the file. Either that or define that the module can't be used to work with system spool mailboxes, at least on Debian. But that would be even more sad.
History
Date User Action Args
2010-12-01 13:40:44olausetrecipients: + olau, akuchling, doko, pitrou
2010-12-01 13:40:44olausetmessageid: <1291210844.69.0.948602362952.issue7359@psf.upfronthosting.co.za>
2010-12-01 13:40:40olaulinkissue7359 messages
2010-12-01 13:40:40olaucreate