1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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 If the
.Fl R .Fl R
option is specified, symbolic links on the command line are followed. 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 .It Fl L
If the If the
.Fl R .Fl R
@ -81,11 +82,11 @@ instead of just the files themselves.
Do not display a diagnostic message if Do not display a diagnostic message if
.Nm .Nm
could not modify the mode for could not modify the mode for
.Va file .
.It Fl v .It Fl v
Cause Cause
.Nm .Nm
to be verbose, showing files as the mode is modified. to be verbose, showing files as the mode is modified.
.Va file .
.El .El
.Pp .Pp
Symbolic links do not have modes, so unless the 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: The symbolic mode is described by the following grammar:
.Bd -literal -offset indent .Bd -literal -offset indent
mode ::= clause [, clause ...] mode ::= clause [, clause ...]
clause ::= [who ...] [action ...] last_action clause ::= [who ...] [action ...] action
action ::= op [perm ...] action ::= op [perm ...]
last_action ::= op [perm ...]
who ::= a | u | g | o who ::= a | u | g | o
op ::= + | \- | = op ::= + | \- | =
perm ::= r | s | t | w | x | X | u | g | o perm ::= r | s | t | w | x | X | u | g | o