summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chown/chgrp.1
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-09-04 11:55:45 +0000
committercharnier <charnier@FreeBSD.org>1997-09-04 11:55:45 +0000
commitd3d26f623e06be399c175d03b0c8f7493690bfc7 (patch)
tree74db6df627cdfd9048b1a74ac83874975167084b /usr.sbin/chown/chgrp.1
parent6047dd4c945dc2b42e4b7af4ba88dab4b1c9bfc3 (diff)
downloadFreeBSD-src-d3d26f623e06be399c175d03b0c8f7493690bfc7.zip
FreeBSD-src-d3d26f623e06be399c175d03b0c8f7493690bfc7.tar.gz
Cosmetic in man page. Sync usage() with man page.
Diffstat (limited to 'usr.sbin/chown/chgrp.1')
-rw-r--r--usr.sbin/chown/chgrp.116
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/chown/chgrp.1 b/usr.sbin/chown/chgrp.1
index 9abff11..67122c4 100644
--- a/usr.sbin/chown/chgrp.1
+++ b/usr.sbin/chown/chgrp.1
@@ -51,7 +51,9 @@
.Ar group
.Ar files ...
.Sh DESCRIPTION
-The chgrp utility sets the group ID of the file named by each
+The
+.Nm
+utility sets the group ID of the file named by each
.Ar file
operand to the
.Ar group
@@ -63,7 +65,7 @@ Options:
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 L
If the
.Fl R
@@ -102,12 +104,12 @@ If a group name is also a numeric group ID, the operand is used as a
group name.
.Pp
The user invoking
-.Nm chgrp
+.Nm
must belong to the specified group and be the owner of the file,
or be the super-user.
.Pp
The
-.Nm chgrp
+.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh COMPATIBILITY
In previous versions of this system, symbolic links did not have groups.
@@ -125,5 +127,7 @@ Group ID file
.Xr chown 8
.Sh STANDARDS
The
-.Nm chgrp
-utility is expected to be POSIX 1003.2 compatible.
+.Nm
+utility is expected to be
+.St -p1003.2
+compatible.
OpenPOWER on IntegriCloud