The chown command

Now, to change the owner of a file, use the chown command chown user:group <file>. To include all the contained files, add the option -R (recursive mode).