CHOWN(1) CHOWN(1) chown - change file owner and group chown []... [][:[]] FILE... chown []... --reference= ... This manual page documents the GNU version of chown. chown 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 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 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 and group are given, but the owner is omitted, only the group of the files is changed; in this case, chown performs the same function as chgrp. If only a colon is given, or if the entire operand is empty, neither the owner nor the group is changed. / / . --reference, . -c, --changes -f, --silent, --quiet -v, --verbose --dereference ( ), -h, --no-dereference ( ) --from=_:_ change the ownership of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute --no-preserve-root ,,/" () --preserve-root ,,/" --reference= use RFILE's ownership rather than specifying values RFILE is always dereferenced if a symbolic link. -R, --recursive The following options modify how a hierarchy is traversed when the -R option is also specified. If more than one is specified, only the final one takes effect. '-P' is the default. -H , -L -P do not traverse any symbolic links --help --version . , ,,:" . . chown root /u ,,/u" ,,root". chown root:staff /u , ,,staff". chown -hR root /u ,,/u" ,,root". . coreutils: Copyright (C) 2024 Free Software Foundation, Inc. 3+: 3 . : . , . chown(2) ,,info '(coreutils) chown invocation'" ; 3 . . , - TODO <>. coreutils 9.5 2024 CHOWN(1)