summaryrefslogtreecommitdiff
path: root/bin/chmod/chgrp.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-01-21 15:17:26 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-01-21 15:17:26 +0000
commit5b224f1ee4dbef07b784d76c3f10c2d33b945c94 (patch)
treec06e5396df5327e111152192badb44e3ef94c77c /bin/chmod/chgrp.1
parent3573c0755ea27eb11b71c6938312f7a72c2619aa (diff)
- remove brackets in -H description: the information is quite relevant
- note that not following sym links is default for -R - improve the description of -R, providing a mnemonic and a simpler description of what it does. also make the text for all these pages identical, as far as is possible ok millert schwarze
Diffstat (limited to 'bin/chmod/chgrp.1')
-rw-r--r--bin/chmod/chgrp.118
1 files changed, 12 insertions, 6 deletions
diff --git a/bin/chmod/chgrp.1 b/bin/chmod/chgrp.1
index acc06a687d7..1210ca71486 100644
--- a/bin/chmod/chgrp.1
+++ b/bin/chmod/chgrp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chgrp.1,v 1.14 2011/03/09 11:30:38 okan Exp $
+.\" $OpenBSD: chgrp.1,v 1.15 2014/01/21 15:17:25 jmc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)chgrp.1 8.3 (Berkeley) 3/31/94
.\"
-.Dd $Mdocdate: March 9 2011 $
+.Dd $Mdocdate: January 21 2014 $
.Dt CHGRP 1
.Os
.Sh NAME
@@ -57,7 +57,7 @@ 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.
.It Fl h
Change the group ID of the specified symbolic link.
The
@@ -74,8 +74,12 @@ If the
.Fl R
option is specified, no symbolic links are followed.
.It Fl R
-Change the group ID for the file hierarchies rooted
-in the files instead of just the files themselves.
+Recurse.
+Where
+.Ar file
+is a directory,
+change the group ID of the directory and all the files and directories
+in the file hierarchy below it.
.El
.Pp
The
@@ -85,7 +89,9 @@ and
.Fl P
options are ignored unless the
.Fl R
-option is specified.
+option is specified;
+if none of them are given,
+the default is to not follow symbolic links.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp