diff options
Diffstat (limited to 'man2/umask.2')
| -rw-r--r-- | man2/umask.2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man2/umask.2 b/man2/umask.2 index e5e57506a5..905f2cdc20 100644 --- a/man2/umask.2 +++ b/man2/umask.2 @@ -63,6 +63,17 @@ argument to and .BR mkdir (2). +Alternatively, if the parent directory has a default acl (see +.BR acl (5)), +the umask is ignored, the default acl is inherited, the permission bits are set +based on the inherited acl, and permission bits absent in the +.I mode +argument are turned off. For example, the default acl +u::rwx,g::r-x,o::r-x is equivalent to a umask of 022, and with a +.I mode +argument of 0666 (rw-rw-rw-), the resulting file permissions are 0644 +(rw-r--r--). + The constants that should be used to specify .I mask are described under |
