From 51c11a7059017e98fce7025ecb2533468c9964e0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 19 Oct 2018 12:29:46 +0200 Subject: [PATCH] setgid.2: Clarify EPERM capability requirements with respect to user namespaces Signed-off-by: Michael Kerrisk --- man2/setgid.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/setgid.2 b/man2/setgid.2 index 12bbc659b..1f7875d3b 100644 --- a/man2/setgid.2 +++ b/man2/setgid.2 @@ -67,7 +67,7 @@ is not valid in this user namespace. .TP .B EPERM The calling process is not privileged (does not have the -\fBCAP_SETGID\fP capability), and +\fBCAP_SETGID\fP capability in its user namespace), and .I gid does not match the real group ID or saved set-group-ID of the calling process.