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 a3347aa commit 0ff675eCopy full SHA for 0ff675e
Doc/library/subprocess.rst
@@ -632,6 +632,12 @@ functions.
632
the value in ``pw_uid`` will be used. If the value is an integer, it will
633
be passed verbatim. (POSIX only)
634
635
+ .. note::
636
+
637
+ Specifying *user* will not drop existing supplementary group memberships!
638
+ The caller must also pass ``extra_groups=()`` to reduce the group membership
639
+ of the child process for security purposes.
640
641
.. availability:: POSIX
642
.. versionadded:: 3.9
643
0 commit comments