summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-11-06 00:34:10 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-11-06 00:34:10 +0000
commitc7ba9894bc98405517ce7b9b3d076986982f3e1d (patch)
tree12883bf1bc3936e90284167df01b47e57f2db784 /bin/chmod/chmod.1
parentd0f07253f0c4d7eb7f51bce1f5a52cd9b87daadd (diff)
use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and future
processing); kill redundant .Pp macros; other misc fixes
Diffstat (limited to 'bin/chmod/chmod.1')
-rw-r--r--bin/chmod/chmod.145
1 files changed, 33 insertions, 12 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index 278326b5280..f57e61065ea 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.1,v 1.5 1998/09/14 22:13:38 aaron Exp $
+.\" $OpenBSD: chmod.1,v 1.6 1998/11/06 00:34:07 aaron Exp $
.\" $NetBSD: chmod.1,v 1.8 1995/03/21 09:02:07 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -111,12 +111,12 @@ the following values:
.Pp
.Bl -tag -width 6n -compact -offset indent
.It Li 4000
-set-user-ID-on-execution
+set-user-ID on execution
.It Li 2000
-set-group-ID-on-execution
+set-group-ID on execution
.It Li 1000
sticky bit, see
-.Xr chmod 2 .
+.Xr chmod 2
.It Li 0400
read by owner
.It Li 0200
@@ -145,11 +145,19 @@ perm ::= r | s | t | w | x | X | u | g | o
.Pp
The
.Ar who
-symbols ``u'', ``g'', and ``o'' specify the user, group, and other parts
+symbols
+.Dq u ,
+.Dq g ,
+and
+.Dq o
+specify the user, group, and other parts
of the mode bits, respectively.
The
.Ar who
-symbol ``a'' is equivalent to ``ugo''.
+symbol
+.Dq a
+is equivalent to
+.Dq ugo .
.Pp
.ne 1i
The
@@ -172,9 +180,13 @@ The execute/search bits if the file is a directory or any of the
execute/search bits are set in the original (unmodified) mode.
Operations with the
.Ar perm
-symbol ``X'' are only meaningful in conjunction with the
+symbol
+.Dq X
+are only meaningful in conjunction with the
.Ar op
-symbol ``+'', and are ignored in all other cases.
+symbol
+.Dq + ,
+and are ignored in all other cases.
.It u
The user permission bits in the mode of the original file.
.It g
@@ -190,7 +202,9 @@ symbols represent the operation performed, as follows:
.It +
If no value is supplied for
.Ar perm ,
-the ``+'' operation has no effect.
+the
+.Dq +
+operation has no effect.
If no value is supplied for
.Ar who ,
each permission bit specified in
@@ -205,7 +219,9 @@ values are set.
.It \&\-
If no value is supplied for
.Ar perm ,
-the ``\-'' operation has no effect.
+the
+.Dq \-
+operation has no effect.
If no value is supplied for
.Ar who ,
each permission bit specified in
@@ -244,9 +260,14 @@ bits, and each operation is applied to the mode bits in the
order specified.
.Pp
Operations upon the other permissions only (specified by the symbol
-``o'' by itself), in combination with the
+.Dq o
+by itself), in combination with the
.Ar perm
-symbols ``s'' or ``t'', are ignored.
+symbols
+.Dq s
+or
+.Dq t ,
+are ignored.
.Sh EXAMPLES
.Bl -tag -width "u=rwx,go=u-w" -compact
.It Li 644