[Midnightbsd-cvs] src: chmod.1: Mention umask(2) when first referring to it.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jun 29 21:30:53 EDT 2008
Log Message:
-----------
Mention umask(2) when first referring to it.
Modified Files:
--------------
src/bin/chmod:
chmod.1 (r1.2 -> r1.3)
-------------- next part --------------
Index: chmod.1
===================================================================
RCS file: /home/cvs/src/bin/chmod/chmod.1,v
retrieving revision 1.2
retrieving revision 1.3
diff -L bin/chmod/chmod.1 -L bin/chmod/chmod.1 -u -r1.2 -r1.3
--- bin/chmod/chmod.1
+++ bin/chmod/chmod.1
@@ -33,7 +33,7 @@
.\" $FreeBSD: src/bin/chmod/chmod.1,v 1.39 2005/02/13 23:45:45 ru Exp $
.\" $MidnightBSD$
.\"
-.Dd March 31, 1994
+.Dd June 29, 2008
.Dt CHMOD 1
.Os
.Sh NAME
@@ -229,6 +229,8 @@
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
@@ -253,7 +255,9 @@
.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 ,
More information about the Midnightbsd-cvs
mailing list