From keramida@diogenis.ceid.upatras.gr  Wed Feb 16 14:42:26 2000
Return-Path: <keramida@diogenis.ceid.upatras.gr>
Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24])
	by hub.freebsd.org (Postfix) with ESMTP id 891C137B5AA
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 14:42:26 -0800 (PST)
	(envelope-from keramida@diogenis.ceid.upatras.gr)
Received: from mx2.x-treme.gr (mx2.x-treme.gr [212.120.192.15])
	by builder.freebsd.org (Postfix) with ESMTP id 807BA132F6
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 14:41:45 -0800 (PST)
Received: from hades.hell.gr (pat28.x-treme.gr [212.120.197.220])
	by mx2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with SMTP id AAA28428
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2000 00:42:10 +0200
Received: (qmail 35072 invoked by uid 1001); 16 Feb 2000 10:35:45 -0000
Message-Id: <20000216103545.35071.qmail@hades.hell.gr>
Date: 16 Feb 2000 10:35:45 -0000
From: keramida@diogenis.ceid.upatras.gr
Reply-To: keramida@diogenis.ceid.upatras.gr
To: FreeBSD-gnats-submit@freebsd.org
Subject: chmod.1 minor changes
X-Send-Pr-Version: 3.2

>Number:         16749
>Category:       docs
>Synopsis:       some corrections to the chmod.1 manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 15:30:01 PST 2000
>Closed-Date:    Wed Feb 16 19:18:37 PST 2000
>Last-Modified:  Wed Feb 16 19:19:06 PST 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: unfurl 
State-Changed-When: Wed Feb 16 19:18:37 PST 2000 
State-Changed-Why:  
committed patch, minor changes to chmod(1) 
>Unformatted:
