chown
PURPOSE
Changes the owner of files or directories.
SYNOPSIS
chown owner file ...
chgrp group file ...
DESCRIPTION
The chown command changes the owner of the specified
files or directories to username or userID. The group
associated with the file or directory is not affected.
Note: If you give ownership of a file or directory to
another user, you cannot regain ownership unless you have
superuser authority.
If the file or directory resides on a remote node, the
translated user ID is used.
FLAG
-r Causes the untranslated user ID to be used.
EXAMPLE
chown jim program.c
The user access permissions for "program.c" now apply to
"jim". As the owner, "jim" can use chmod to permit or
deny the other users access to "program.c". See "chmod"
for details.
FILES
/etc/passwd File that contains user ids.
RELATED INFORMATION
The following command: "passwd."
The chown and chownx system calls and the passwd file in
AIX Operating System Technical Reference.
"Distributed Services id Translation" in Managing the AIX
Operating System.