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