From b0c5363f3e2a67492a0b638ab76a64b65013b33e Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Tue, 21 Apr 2015 13:07:05 +0200 Subject: [PATCH] stat.2: Improve description of some mode constants Signed-off-by: Andreas Gruenbacher Signed-off-by: Michael Kerrisk --- man2/stat.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/stat.2 b/man2/stat.2 index 0d244af97..a227c55d6 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -381,18 +381,18 @@ S_ISUID 0004000 set-user-ID bit S_ISGID 0002000 set-group-ID bit (see below) S_ISVTX 0001000 sticky bit (see below) -S_IRWXU 00700 mask for file owner permissions +S_IRWXU 00700 owner has read, write and execute permission S_IRUSR 00400 owner has read permission S_IWUSR 00200 owner has write permission S_IXUSR 00100 owner has execute permission -S_IRWXG 00070 mask for group permissions +S_IRWXG 00070 group has read, write and execute permission S_IRGRP 00040 group has read permission S_IWGRP 00020 group has write permission S_IXGRP 00010 group has execute permission S_IRWXO 00007 T{ -mask for permissions for others (not in group) +others (not in group) have read, write and execute permission T} S_IROTH 00004 others have read permission S_IWOTH 00002 others have write permission