Skip to content

Instantly share code, notes, and snippets.

@orazz
Created July 14, 2017 11:46
Show Gist options
  • Save orazz/44241e8c36a616e89409c5d2c67e4126 to your computer and use it in GitHub Desktop.
Save orazz/44241e8c36a616e89409c5d2c67e4126 to your computer and use it in GitHub Desktop.
# run in "root" folder
chown -R orazz:www-data storage .env
find storage -type f -exec chmod 664 {} \;
find storage -type d -exec chmod 775 {} \;
chgrp -R www-data storage .env
chmod -R ug+rwx storage .env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment