From 1ec37705a4bc63fbce9dfdc2574a1285ca64a383 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 17 Nov 2017 19:18:28 +0100 Subject: [PATCH] chown.2: ffix Signed-off-by: Michael Kerrisk --- man2/chown.2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/man2/chown.2 b/man2/chown.2 index b26fcfb5d..50db789ac 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -348,41 +348,41 @@ the options used to mount the filesystem, and whether or not the set-group-ID mode bit is enabled on the parent directory. If the filesystem supports the -.I "\-o\ grpid" +.B "\-o\ grpid" (or, synonymously -.IR "\-o\ bsdgroups" ) +.BR "\-o\ bsdgroups" ) and -.I "\-o\ nogrpid" +.B "\-o\ nogrpid" (or, synonymously -.IR "\-o\ sysvgroups" ) +.BR "\-o\ sysvgroups" ) .BR mount (8) options, then the rules are as follows: .IP * 2 If the filesystem is mounted with -.IR "\-o\ grpid" , +.BR "\-o\ grpid" , then the group of a new file is made the same as that of the parent directory. .IP * If the filesystem is mounted with -.IR "\-o\ nogrpid" +.BR "\-o\ nogrpid" and the set-group-ID bit is disabled on the parent directory, then the group of a new file is made the same as the process's filesystem GID. .IP * If the filesystem is mounted with -.IR "\-o\ nogrpid" +.BR "\-o\ nogrpid" and the set-group-ID bit is enabled on the parent directory, then the group of a new file is made the same as that of the parent directory. .PP As at Linux 4.12, the -.IR "\-o\ grpid" +.BR "\-o\ grpid" and -.IR "\-o\ nogrpid" +.BR "\-o\ nogrpid" mount options are supported by ext2, ext3, ext4, and XFS. Filesystems that don't support these mount options follow the -.IR "\-o\ nogrpid" +.BR "\-o\ nogrpid" rules. .SS Glibc notes On older kernels where