change folder permissions 755 to 777 code example Example: ubuntu change permissions 777 sudo chmod -R 777 /var/www