chown - change owner
chown [-R] owner[:group] file ...
-R Change directory hierarchies
chown ast file1 file2
# Make ast the owner of the files
chown -R ast:other dir
# Change the owner and group of all files in dir
The owner field (and optionally group field) of the named files is
changed to owner (i.e., login name specified) and group . Alternatively,
a decimal uid(gid) may be specified instead of a user name. Only the
superuser may execute this command.
chgrp(1), chmod(1), ls(1), chown(2).