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 christian.heimes
Recipients christian.heimes, socketpair, vstinner
Date 2017-01-09.14:46:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483973171.63.0.296799603211.issue29214@psf.upfronthosting.co.za>
In-reply-to
Content
I would be nice to have a public API to set permissions of files for io.open(), too.

Note to your note: the actual permission is influenced by the process' global umask. If you are concerned about security, you should set the umask to 0o077 early.
History
Date User Action Args
2017-01-09 14:46:11christian.heimessetrecipients: + christian.heimes, vstinner, socketpair
2017-01-09 14:46:11christian.heimessetmessageid: <1483973171.63.0.296799603211.issue29214@psf.upfronthosting.co.za>
2017-01-09 14:46:11christian.heimeslinkissue29214 messages
2017-01-09 14:46:11christian.heimescreate