chmode ubuntu

Shell
sudo chmod -R 777 /var/www

Source

Also in Shell: