Commands for file ownership

chown files

Change the owner and/or group of files to user-owner and/or group-owner.

chgrp group-owner files

Change the group ownership of files to group-owner.

chgrp functionality is included in chown.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.