summaryrefslogtreecommitdiff
path: root/usr.sbin/chown/chgrp.1
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-09-04 11:55:45 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-09-04 11:55:45 +0000
commitcc09f59a1e6d909dc7dd6e64a025eee07ed4065d (patch)
treed2dd3f5401f00f0f75021162ee4fd536fca81dc7 /usr.sbin/chown/chgrp.1
parent64938abfe5be575d79429f3bfb1e76c8f95c47d9 (diff)
downloadsrc-test2-cc09f59a1e6d909dc7dd6e64a025eee07ed4065d.tar.gz
src-test2-cc09f59a1e6d909dc7dd6e64a025eee07ed4065d.zip
Notes
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 9abff113096e..67122c4277da 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.