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>
This commit is contained in:
Bill Swingle 2000-02-17 03:17:03 +00:00
parent 187c0f1691
commit aa387b2d8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57274

View File

@ -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