change only owner of the file
chown USER /path/to/file
change only group of the file
chgrp GROUP /path/to/file
change owner and group of the directory recursively
chown -R USER:GROUP /path/to/dir
Comments
Post a Comment