1 '\" Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
3 '\" This is free software. You may redistribute copies of it under the terms
4 '\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
5 '\" There is NO WARRANTY, to the extent permitted by law.
7 chown \- change file owner and group
10 documents the GNU version of
13 changes the user and/or group ownership of each given file. If
14 only an owner (a user name or numeric user ID) is given, that user is made the
15 owner of each given file, and the files' group is not changed. If the
16 owner is followed by a colon and a group name (or numeric group ID),
17 with no spaces between them, the group ownership of the files is
18 changed as well. If a colon but no group name follows the user name,
19 that user is made the owner of the files and the group of the files is
20 changed to that user's login group. If the colon and group are given,
21 but the owner is omitted, only the group of the files is changed;
24 performs the same function as
26 If only a colon is given, or if the entire operand is empty, neither the
27 owner nor the group is changed.