summaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-12-22 07:28:38 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-12-22 07:28:38 +0000
commitdd8f42dc83277db680c9eb8f9c3a4f5148bfb06d (patch)
tree68616f026e800b89f6dee0f6e926111eaa5d8ddb /bin/chmod
parent353bb0a3f8167a47aed8052415dac064ea66432d (diff)
downloadsrc-test-dd8f42dc83277db680c9eb8f9c3a4f5148bfb06d.tar.gz
src-test-dd8f42dc83277db680c9eb8f9c3a4f5148bfb06d.zip
- Mention umask(2) when first referring to it.
- Add missing markup. Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Notes
Notes: svn path=/head/; revision=165463
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.18
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index 30984801678be..37d64bb008bdd 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -32,7 +32,7 @@
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $FreeBSD$
.\"
-.Dd March 31, 1994
+.Dd December 22, 2006
.Dt CHMOD 1
.Os
.Sh NAME
@@ -228,6 +228,8 @@ If no value is supplied for
each permission bit specified in
.Ar perm ,
for which the corresponding bit in the file mode creation mask
+(see
+.Xr umask 2 )
is clear, is set.
Otherwise, the mode bits represented by the specified
.Ar who
@@ -252,7 +254,9 @@ values are cleared.
.It =
The mode bits specified by the
.Ar who
-value are cleared, or, if no who value is specified, the owner, group
+value are cleared, or, if no
+.Ar who
+value is specified, the owner, group
and other mode bits are cleared.
Then, if no value is supplied for
.Ar who ,