Skip to content

Instantly share code, notes, and snippets.

@chaosbytes
Created July 20, 2015 19:49
Show Gist options
  • Save chaosbytes/87f149061ff4493dc2a7 to your computer and use it in GitHub Desktop.
Save chaosbytes/87f149061ff4493dc2a7 to your computer and use it in GitHub Desktop.
Laravel app/storage not writable by web server fix
cd app
chown -R www-data:www-data storage
cd storage
find . -type d -exec chmod 775 {} \; && find . -type f -exec chmod 664 {} \;
chown root:root .gitignore cache/.gitignore logs/.gitignore meta/.gitignore sessions/.gitignore views/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment