Skip to content

Instantly share code, notes, and snippets.

@indieocean
Last active January 20, 2017 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save indieocean/4f819d8e76a4a687c4f59225c043ada8 to your computer and use it in GitHub Desktop.
Save indieocean/4f819d8e76a4a687c4f59225c043ada8 to your computer and use it in GitHub Desktop.
find . -type f -exec chmod 644 {} \; // 644 permission for files
find . -type d -exec chmod 755 {} \; // 755 permission for directory
find ./var -type d -exec chmod 777 {} \; // 777 permission for var folder
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
chmod -R a+w .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment