chown(1) chown(1)
NAME
chown, chgrp - change owner or group
SYNOPSIS
chown owner file ...
chgrp group file ...
DESCRIPTION
chown changes the owner of the files to owner. The owner
may be either a decimal user ID or a login name found in the
password file.
chgrp changes the group ID of the files to group. The group
may be either a decimal group ID or a group name found in
the group file.
If either command is invoked by other than the super-user,
and the files specified are either local or remoted mounted
from another System V system, the set-user ID and set-group
ID bits of the file mode, 04000 and 02000 respectively, will
be cleared.
EXAMPLE
chown doc filea fileb filec
would make doc the owner of the three files.
FILES
/bin/chown
/bin/chgrp /etc/passwd
/etc/group
SEE ALSO
chmod(1), chown(2), group(4), passwd(4).
Page 1 (last mod. 1/16/87)