sudo chown pi: index.html code example Example: raspberry pi change permissions /var/www sudo chmod -R 777 /var/www