aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Swingle <unfurl@FreeBSD.org>2000-02-17 03:17:03 +0000
committerBill Swingle <unfurl@FreeBSD.org>2000-02-17 03:17:03 +0000
commitaa387b2d8cf56a1178d5191dc3acbfc6659f220a (patch)
treeeb1ccbcfcad2969e87b966de0ca206bbedc2a62d
parent187c0f16914a299faf612fa0368c24638c6c8335 (diff)
downloadsrc-aa387b2d8cf56a1178d5191dc3acbfc6659f220a.tar.gz
src-aa387b2d8cf56a1178d5191dc3acbfc6659f220a.zip
From the PR:
Three minor changes to the manpage of chmod(1). 1. At the description of -H option, I added that symlinks are not followed _by default_ to show that links can be followed, but the default chmod behavior is not to do so. 2. Moved a misplaced .Va file command up to the place it belongs. 3. Simplified the grammar that describes symbolic modes. PR: 16749 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
Notes
Notes: svn path=/head/; revision=57274
-rw-r--r--bin/chmod/chmod.18
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index 4fbf25558712..847e1900fa08 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -65,7 +65,8 @@ The options are as follows:
If the
.Fl R
option is specified, symbolic links on the command line are followed.
-(Symbolic links encountered in the tree traversal are not followed.)
+(Symbolic links encountered in the tree traversal are not followed by
+default.)
.It Fl L
If the
.Fl R
@@ -81,11 +82,11 @@ instead of just the files themselves.
Do not display a diagnostic message if
.Nm
could not modify the mode for
+.Va file .
.It Fl v
Cause
.Nm
to be verbose, showing files as the mode is modified.
-.Va file .
.El
.Pp
Symbolic links do not have modes, so unless the
@@ -171,9 +172,8 @@ others, and no set-uid or set-gid behaviour is 755
The symbolic mode is described by the following grammar:
.Bd -literal -offset indent
mode ::= clause [, clause ...]
-clause ::= [who ...] [action ...] last_action
+clause ::= [who ...] [action ...] action
action ::= op [perm ...]
-last_action ::= op [perm ...]
who ::= a | u | g | o
op ::= + | \- | =
perm ::= r | s | t | w | x | X | u | g | o