chown command check owner of directory code example
Example: change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE