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 vstinner
Recipients christian.heimes, gregory.p.smith, vstinner
Date 2019-10-10.08:00:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570694458.06.0.497019293333.issue38417@roundup.psfhosted.org>
In-reply-to
Content
> We should not provide such an "run arbitrary python code before execing the ultimate child" feature in the standard library.

Do you want to modify _posixsubprocess to call umask() between fork() and exec()? As it has been done for uid, gid and groups: call setreuid(), setregid() and setgroups()?

If so, it means that posix_spawn() couldn't be used when the new umask parameter would be used, right?
History
Date User Action Args
2019-10-10 08:00:58vstinnersetrecipients: + vstinner, gregory.p.smith, christian.heimes
2019-10-10 08:00:58vstinnersetmessageid: <1570694458.06.0.497019293333.issue38417@roundup.psfhosted.org>
2019-10-10 08:00:58vstinnerlinkissue38417 messages
2019-10-10 08:00:57vstinnercreate