CHMOD (Change Owner) is a program for setting "owner" and user "group" for a file or folder.
Change the owner of a file to the user “david”
chown [user] [file]
chown david logo.png
Change the owner to "david", but the group to “administrator”
chown [user].[group] [file]
chown root.administrator logo.png
Change owner and group for all files & folders in the current directory.
chown -R [user].[group] [file]
chown -R david.administrator *