Date: 16 Feb 2000 10:35:45 -0000 From: keramida@diogenis.ceid.upatras.gr To: FreeBSD-gnats-submit@freebsd.org Subject: docs/16749: chmod.1 minor changes Message-ID: <20000216103545.35071.qmail@hades.hell.gr>
index | next in thread | raw e-mail
>Number: 16749
>Category: docs
>Synopsis: some corrections to the chmod.1 manpage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 16 15:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Giorgos Keramidas <keramida@ceid.upatras.gr>
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:
The manpage of chmod(1) in 4.0-CURRENT (cvsup'ed Feb 15 2000)
>Description:
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.
>How-To-Repeat:
man 1 chmod
>Fix:
--- src/bin/chmod.1.orig Sat Nov 27 21:25:08 1999
+++ src/bin/chmod.1 Wed Feb 16 12:22:14 2000
@@ -65,7 +65,8 @@
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 @@
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 @@
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
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000216103545.35071.qmail>
