summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-11-10 13:01:29 +0000
committeraaron <aaron@openbsd.org>2000-11-10 13:01:29 +0000
commitc18922d5cf6e010593a8f0b643d19708dc95623c (patch)
tree3dede0523d4a7463d372ed233d5e53c606e7e0c9
parentUse better grammar. (diff)
downloadwireguard-openbsd-c18922d5cf6e010593a8f0b643d19708dc95623c.tar.xz
wireguard-openbsd-c18922d5cf6e010593a8f0b643d19708dc95623c.zip
- Section shuffling.
- Some .Nm trimming. - Reword a sentence for consistency with the chmod(1) man page. - Insert a missing comma.
-rw-r--r--bin/chmod/chown.827
1 files changed, 13 insertions, 14 deletions
diff --git a/bin/chmod/chown.8 b/bin/chmod/chown.8
index b13e23dea85..02197678754 100644
--- a/bin/chmod/chown.8
+++ b/bin/chmod/chown.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chown.8,v 1.2 2000/07/31 01:24:56 pjanzen Exp $
+.\" $OpenBSD: chown.8,v 1.3 2000/11/10 13:01:29 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -59,7 +59,7 @@
.Ar :group
.Ar file Op Ar ...
.Sh DESCRIPTION
-.Nm chown
+.Nm
sets the user ID and/or the group ID of the specified files.
.Pp
The options are as follows:
@@ -94,7 +94,7 @@ options are mutually exclusive.
.Pp
The
.Fl H ,
-.Fl L
+.Fl L ,
and
.Fl P
options are ignored unless the
@@ -125,15 +125,20 @@ may be either a numeric group ID or a group name.
If a group name is also a numeric group ID, the operand is used as a
group name.
.Pp
-The ownership of a file may only be altered by a superuser for
-obvious security reasons.
+Only the superuser is permitted to change the owner of a file.
.Pp
The
-.Nm chown
+.Nm
utility exits 0 on success or >0 if an error occurred.
+.Sh SEE ALSO
+.Xr chgrp 1 ,
+.Xr find 1 ,
+.Xr chown 2 ,
+.Xr fts 3 ,
+.Xr symlink 7
.Sh COMPATIBILITY
Previous versions of the
-.Nm chown
+.Nm
utility used the dot
.Pq Sq \&.
character to distinguish the group name.
@@ -141,13 +146,7 @@ This has been changed to be a colon
.Pq Sq \&:
character so that user and
group names may contain the dot character.
-.Sh SEE ALSO
-.Xr chgrp 1 ,
-.Xr find 1 ,
-.Xr chown 2 ,
-.Xr fts 3 ,
-.Xr symlink 7
.Sh STANDARDS
The
-.Nm chown
+.Nm
command is expected to be POSIX 1003.2 compliant.