CHOWN(1)
NAME
chown, chgrp − change file owner or group
SYNOPSIS
chown owner file ...
chgrp group file ...
HP-UX COMPATIBILITY
Level: HP-UX/NUCLEUS
Origin: System V
Native Language Support:
8−bit filenames.
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/passwd
/etc/group
SEE ALSO
chmod(1), chown(2), group(5), passwd(5).
Hewlett-Packard — last mod. May 11, 2021