chown(1) chown(1)NAME chown, chgrp - change the owner or group of a file SYNOPSIS chown owner file... chgrp group file... ARGUMENTS file Specifies the file to be changed. group Specifies the group from which file can be accessed. owner Specifies the owner of the 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 superuser, 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. EXAMPLES The command: chown doc filea fileb filec would make doc the owner of the three files. FILES /bin/chown Executable file /bin/chgrp Executable file /etc/group File containing group IDs /etc/passwd File containing user IDs January 1992 1
chown(1) chown(1)SEE ALSO chmod(1) chown(2), group(4), passwd(4) in A/UX Programmer's Reference 2 January 1992