chown in linux code example
Example 1: change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
Example 2: chown command
sudo chown www-data:www-data -R assets/ data/
Example 3: linux chown
chown [OPTIONS] USER[:GROUP] FILE(s)