# Set ownership chown -R www-data:www-data . # Normal permissions find . -type d -exec chmod 775 {} \; find . -type f -exec chmod 664 {} \; # Laravel writable directories find storage bootstrap/cache -type d -exec chmod 775 {} \; find storage bootstrap/cache -type f -exec chmod 664 {} \; # Laravel CLI chmod 755 artisan