set all files to 644 sudo find /path/to/your/code -type f -exec chmod 644 {} ; make all folders 755 sudo find code -type d -exec chmod 755 {} ; make sorage and cache writable sudo chmod -R ug+rwx storage bootstrap/cache