diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-03-12 06:49:15 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-03-12 06:49:15 +0100 |
| commit | d08cb7ae9a9586e8677603ff5f99c642f6d8dd2f (patch) | |
| tree | 1a8abbd1c1e6c351ef79472ebf75e0bc15179949 /man7/inode.7 | |
| parent | 76028487eb39c5796d43b6878935f9192ed12798 (diff) | |
| download | man-pages-d08cb7ae9a9586e8677603ff5f99c642f6d8dd2f.tar.gz | |
inode.7: Add references to execve(2) to describe set-UID/set-GID behaviors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/inode.7')
| -rw-r--r-- | man7/inode.7 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man7/inode.7 b/man7/inode.7 index 204a7ec95c..a488a41470 100644 --- a/man7/inode.7 +++ b/man7/inode.7 @@ -367,7 +367,7 @@ field: .in +4n .TS lB l l. -S_ISUID 04000 set-user-ID bit +S_ISUID 04000 set-user-ID bit (see \fBexecve\fP(2)) S_ISGID 02000 set-group-ID bit (see below) S_ISVTX 01000 sticky bit (see below) @@ -399,6 +399,9 @@ the directory, not from the effective group ID of the creating process, and directories created there will also get the .B S_ISGID bit set. +For an executable file, the set-group-ID bit causes the effective group ID +of a process that executes the file to change as described in +.BR execve (2). For a file that does not have the group execution bit .RB ( S_IXGRP ) set, |
