From 925b92395bbc8574504b2906ca11f3b25563ca17 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 2 Feb 2015 13:23:25 +0100 Subject: [PATCH] getgroups.2: Note capability associated with EPERM error for setgroups(2) Signed-off-by: Michael Kerrisk --- man2/getgroups.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/getgroups.2 b/man2/getgroups.2 index 373c204cb..ecf575c11 100644 --- a/man2/getgroups.2 +++ b/man2/getgroups.2 @@ -129,7 +129,10 @@ is greater than Out of memory. .TP .B EPERM -The calling process has insufficient privilege. +The calling process has insufficient privilege +(it does not have the +.BR CAP_SETGID +capability). .SH CONFORMING TO SVr4, 4.3BSD. The