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 gregory.p.smith
Recipients gregory.p.smith
Date 2019-10-08.22:55:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570575339.67.0.686572067981.issue38417@roundup.psfhosted.org>
In-reply-to
Content
Another use of the deprecated unsafe preexec_fn was to call os.umask in the child prior to exec.

As seen in https://github.com/freeipa/freeipa/pull/3769 (see the code in there).

We should add an explicit feature for this to avoid people's desire for preexec_fn or for the heavyweight workaround of an intermediate shell calling umask before doing another exec.

Any common preexec_fn uses that we can encode into supported parameters will help our ability to remove the ill fated preexec_fn misfeature in the future.
History
Date User Action Args
2019-10-08 22:55:39gregory.p.smithsetrecipients: + gregory.p.smith
2019-10-08 22:55:39gregory.p.smithsetmessageid: <1570575339.67.0.686572067981.issue38417@roundup.psfhosted.org>
2019-10-08 22:55:39gregory.p.smithlinkissue38417 messages
2019-10-08 22:55:39gregory.p.smithcreate