chown changes user and/or group ownership of files. chgrp changes only the group. Only root (or capabilities) may hand ownership to another user — normal users cannot steal files by chown. Typical pattern after copying files as root: chown -R appuser:appgroup /srv/myapp.

Syntax
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.