ls: be responsive to interrupts when color-listing large directories
[coreutils/ericb.git] / man / chown.x
blob9b84107ae3e65d4c8e9eb6ffee0aa92931939f3d
1 '\" Copyright (C) 1998-1999, 2001, 2006, 2009-2011 Free Software Foundation,
2 '\" Inc.
3 '\"
4 '\" This is free software.  You may redistribute copies of it under the terms
5 '\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
6 '\" There is NO WARRANTY, to the extent permitted by law.
7 [NAME]
8 chown \- change file owner and group
9 [DESCRIPTION]
10 This manual page
11 documents the GNU version of
12 .BR chown .
13 .B chown
14 changes the user and/or group ownership of each given file.  If
15 only an owner (a user name or numeric user ID) is given, that user is made the
16 owner of each given file, and the files' group is not changed.  If the
17 owner is followed by a colon and a group name (or numeric group ID),
18 with no spaces between them, the group ownership of the files is
19 changed as well.  If a colon but no group name follows the user name,
20 that user is made the owner of the files and the group of the files is
21 changed to that user's login group.  If the colon and group are given,
22 but the owner is omitted, only the group of the files is changed;
23 in this case,
24 .B chown
25 performs the same function as
26 .BR chgrp .
27 If only a colon is given, or if the entire operand is empty, neither the
28 owner nor the group is changed.
29 .SH OPTIONS
30 [SEE ALSO]
31 chown(2)