Ubuntu – Change permissions on a folder

sudo chown -R -v USERNAME /var/www/       *To change ownership of the folder*

 

sudo chown -R -v ubuntu /var/www/