mirror of https://github.com/mkerrisk/man-pages
setgid.2: Fix EPERM error description
s/effective group ID/real group ID/ This bug lived in man pages for 15 years before Jason spotted it! I checked back in Linux 1.0, and the behavior was as the fixed man page describes. Reported-by: Jason Noakes <jjnoakes@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1eef2ba881
commit
7a8fe6a940
|
@ -24,7 +24,7 @@
|
|||
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
|
||||
.\" Modified 2002-03-09 by aeb
|
||||
.\"
|
||||
.TH SETGID 2 2002-03-09 "Linux" "Linux Programmer's Manual"
|
||||
.TH SETGID 2 2009-10-17 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
setgid \- set group identity
|
||||
.SH SYNOPSIS
|
||||
|
@ -59,7 +59,7 @@ is set appropriately.
|
|||
The calling process is not privileged (does not have the
|
||||
\fBCAP_SETGID\fP capability), and
|
||||
.I gid
|
||||
does not match the effective group ID or saved set-group-ID of
|
||||
does not match the real group ID or saved set-group-ID of
|
||||
the calling process.
|
||||
.SH "CONFORMING TO"
|
||||
SVr4, POSIX.1-2001.
|
||||
|
|
Loading…
Reference in New Issue