summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-12 05:43:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-12 05:43:19 +0000
commit4b087b295a7c12b822e0ef953f1cae9857d6c5dc (patch)
treedd0e4b2a4b3c47d86f7f9053e72a9f7c1afceaf6 /man
parent914939313455b86f56fecfa1337f109f920fddfd (diff)
downloadcoreutils-4b087b295a7c12b822e0ef953f1cae9857d6c5dc.tar.xz
Reword to match user manual.
Diffstat (limited to 'man')
-rw-r--r--man/chown.x15
1 files changed, 8 insertions, 7 deletions
diff --git a/man/chown.x b/man/chown.x
index 7102f76f6..09289de8c 100644
--- a/man/chown.x
+++ b/man/chown.x
@@ -5,18 +5,19 @@ This manual page
documents the GNU version of
.BR chown .
.B chown
-changes the user and/or group ownership of each given file, according
-to its first non-option argument, which is interpreted as follows. If
-only a user name (or numeric user ID) is given, that user is made the
+changes the user and/or group ownership of each given file. If
+only an owner (a user name or numeric user ID) is given, that user is made the
owner of each given file, and the files' group is not changed. If the
-user name is followed by a colon or dot and a group name (or numeric group ID),
+owner is followed by a colon and a group name (or numeric group ID),
with no spaces between them, the group ownership of the files is
-changed as well. If a colon or dot but no group name follows the user name,
+changed as well. If a colon but no group name follows the user name,
that user is made the owner of the files and the group of the files is
-changed to that user's login group. If the colon or dot and group are given,
-but the user name is omitted, only the group of the files is changed;
+changed to that user's login group. If the colon and group are given,
+but the owner is omitted, only the group of the files is changed;
in this case,
.B chown
performs the same function as
.BR chgrp .
+If only a colon is given, or if the entire operand is empty, neither the
+owner nor the group is changed.
.SH OPTIONS