summaryrefslogtreecommitdiffstats
path: root/bin/chmod
diff options
context:
space:
mode:
authorunfurl <unfurl@FreeBSD.org>2000-02-17 03:17:03 +0000
committerunfurl <unfurl@FreeBSD.org>2000-02-17 03:17:03 +0000
commit641f074c69fcfd2b6c732746b8ba87e6ef42d037 (patch)
tree8b572143e5095c0b86721dd48f2ffed34f931949 /bin/chmod
parent21bb398653b357be78d7e00f4153383e0247ec70 (diff)
downloadFreeBSD-src-641f074c69fcfd2b6c732746b8ba87e6ef42d037.zip
FreeBSD-src-641f074c69fcfd2b6c732746b8ba87e6ef42d037.tar.gz
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>
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.18
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index 4fbf255..847e190 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -65,7 +65,8 @@ The options are as follows:
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 @@ instead of just the files themselves.
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 @@ others, and no set-uid or set-gid behaviour is 755
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
OpenPOWER on IntegriCloud