From josh@newport-1-12.quick.net  Thu May 14 06:17:41 1998
Received: from newport-1-12.quick.net (josh@newport-1-12.quick.net [207.212.160.212])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26557
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 May 1998 06:17:40 -0700 (PDT)
          (envelope-from josh@newport-1-12.quick.net)
Received: (from josh@localhost)
	by newport-1-12.quick.net (8.8.8/8.8.8) id GAA20598;
	Thu, 14 May 1998 06:17:41 -0700 (PDT)
	(envelope-from josh)
Message-Id: <199805141317.GAA20598@newport-1-12.quick.net>
Date: Thu, 14 May 1998 06:17:41 -0700 (PDT)
From: josh@quick.net
Reply-To: josh@quick.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: chmod(1): reword absolute mode
X-Send-Pr-Version: 3.2

>Number:         6634
>Category:       docs
>Synopsis:       chmod(1): reword absolute mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 14 06:20:01 PDT 1998
>Closed-Date:    Mon May 18 23:25:57 PDT 1998
>Last-Modified:  Mon May 18 23:27:38 PDT 1998
>Originator:     Josh Gilliam
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

src/bin/chmod/chmod.1	1.9

>Description:

reword absolute mode

>How-To-Repeat:
>Fix:

--- src/bin/chmod/chmod.1~	Sat May  9 01:45:39 1998
+++ src/bin/chmod/chmod.1	Thu May 14 05:53:48 1998
@@ -103,9 +103,8 @@
 utility exits 0 on success, and >0 if an error occurs.
 .Sh MODES
 Modes may be absolute or symbolic.
-An absolute mode is an octal number constructed by
-.Ar or-ing
-the following values:
+An absolute mode is an octal number constructed from the sum of
+one or more of the following values:
 .Pp
 .Bl -tag -width 6n -compact -offset indent
 .It Li 4000
@@ -123,15 +122,24 @@
 .It Li 0200
 write by owner
 .It Li 0100
-execute (or search for directories) by owner
-.It Li 0070
-read, write, execute/search by group
-.It Li 0007
-read, write, execute/search by others
+execute (or search in directory) by owner
+.It Li 0040
+read by group
+.It Li 0020
+write by group
+.It Li 0010
+execute (search) by group
+.It Li 0004
+read by others
+.It Li 0002
+write by others
+.It Li 0001
+execute (search) by others
 .El
 .Pp
-The read, write, and execute/search values for group and others
-are encoded as described for owner.
+For example, the absolute mode that permits read, write, and
+execute by owner, read and execute by group, and read and
+execute by others is 755 (400+200+100+40+10+4+1).
 .Pp
 The symbolic mode is described by the following grammar:
 .Bd -literal -offset indent
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Mon May 18 23:25:57 PDT 1998 
State-Changed-Why:  
Rev 1.10 of chmod.1 has a version of this patch.  Thanks! 
>Unformatted:
