Clarify meaning of "BSD group semantics".

This commit is contained in:
Michael Kerrisk 2008-05-13 12:42:43 +00:00
parent a3bf802265
commit 79ad39a7d4
1 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,7 @@
.\" You may distribute it under the terms of the GNU General .\" You may distribute it under the terms of the GNU General
.\" Public License. It comes with NO WARRANTY. .\" Public License. It comes with NO WARRANTY.
.\" .\"
.TH MKDIR 2 2003-12-09 "Linux" "Linux Programmer's Manual" .TH MKDIR 2 2008-05-13 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
mkdir \- create a directory mkdir \- create a directory
.SH SYNOPSIS .SH SYNOPSIS
@ -35,8 +35,11 @@ For Linux, see below.
The newly created directory will be owned by the effective user ID of the The newly created directory will be owned by the effective user ID of the
process. process.
If the directory containing the file has the set-group-ID If the directory containing the file has the set-group-ID
bit set, or if the file system is mounted with BSD group semantics, the bit set, or if the file system is mounted with BSD group semantics
new directory will inherit the group ownership from its parent; .RI ( "mount -o bsdgroups"
or, synonymously
.IR "mount -o grpid" ),
the new directory will inherit the group ownership from its parent;
otherwise it will be owned by the effective group ID of the process. otherwise it will be owned by the effective group ID of the process.
If the parent directory has the set-group-ID bit set then so will the If the parent directory has the set-group-ID bit set then so will the