STINNER Victor <vstin...@python.org> added the comment:

> 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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38417>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to