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