chown
[options
]newowner
files
Change the ownership of one or more
files
to
newowner
. (Note: The BSD version lets you change the group as well.)
newowner
is either a user ID number or a login name located in
/etc/passwd
.
Change the owner on symbolic links. Normally,
chown
acts on the file
referenced
by a symbolic link, not on the link itself.
Recursively descend through the directory, including subdirectories and symbolic links, resetting the ownership ID.