NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49938: Doc-bug for chmod(1)



>Number:         49938
>Category:       bin
>Synopsis:       minor error in "grammer" for chmod(1) symbolic notation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 31 08:05:00 +0000 2015
>Originator:     paul%whooppee.com@localhost
>Release:        NetBSD 7.99.15
>Organization:
-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
>Environment:
	
	
System: NetBSD pokey.whooppee.com 7.99.15 NetBSD 7.99.15 (POKEY 2015-04-09 09:49:29) #1: Sun May 3 17:01:17 PHT 2015 paul%pokey.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/POKEY amd64
Architecture: x86_64
Machine: amd64
>Description:
	The "grammar" describing "symbolic mode" for chmod(1) has the
	exact same structure for the "action" and "last_action" lines.
	However, the examples show that actions other than the final
	action should be followed by a comma.
>How-To-Repeat:
	man 1 chmod
>Fix:
	The following patch updates the description of the grammar to
	match the examples.  (If this is applied, the man-page's date
	should also be updated.)

Index: chmod.1
===================================================================
RCS file: /cvsroot/src/bin/chmod/chmod.1,v
retrieving revision 1.25
diff -u -p -r1.25 chmod.1
--- chmod.1	17 Dec 2013 09:54:08 -0000	1.25
+++ chmod.1	31 May 2015 07:57:28 -0000
@@ -149,7 +149,7 @@ The symbolic mode is described by the fo
 .Bd -literal -offset indent
 mode         ::= clause [, clause ...]
 clause       ::= [who ...] [action ...] last_action
-action       ::= op [perm ...]
+action       ::= op [perm ...] ,
 last_action  ::= op [perm ...]
 who          ::= a | u | g | o
 op           ::= + | \- | =

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index