CHOWN(1) — HP-UX
NAME
chown, chgrp − change file 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.
In order to change the owner or group, you must own the file or be the super-user. If either command is invoked by other than the super-user, the set-user-ID and set-group-ID bits of the file mode, 04000 and 02000 respectively, will be cleared.
FILES
/etc/group
/etc/passwd
SEE ALSO
chmod(1), chown(2), group(4), passwd(4).
INTERNATIONAL SUPPORT
8-bit filenames.
Hewlett-Packard Company — Version B.1, May 11, 2021