We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591ed89 commit 8d7e485Copy full SHA for 8d7e485
Doc/library/subprocess.rst
@@ -618,6 +618,12 @@ functions.
618
the value in ``pw_uid`` will be used. If the value is an integer, it will
619
be passed verbatim. (POSIX only)
620
621
+ .. note::
622
+
623
+ Specifying *user* will not drop existing supplementary group memberships!
624
+ The caller must also pass ``extra_groups=()`` to reduce the group membership
625
+ of the child process for security purposes.
626
627
.. availability:: POSIX
628
.. versionadded:: 3.9
629
0 commit comments