change permissions on file in raspberry pi code example Example: raspberry pi change permissions /var/www sudo chmod -R 777 /var/www