Skip to content

Instantly share code, notes, and snippets.

@MatthieuScarset
Created July 19, 2018 02:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatthieuScarset/8863c5f817b3db9ccf1981294c86a6a9 to your computer and use it in GitHub Desktop.
Save MatthieuScarset/8863c5f817b3db9ccf1981294c86a6a9 to your computer and use it in GitHub Desktop.
Fix permissions on Docker-based env with Drupal
//Files should be `644` I think
find . -type f -exec chmod u=rw,g=r,o=r {} \;
// Folders should be `executable
find . -type d -exec chmod u=rwx,g=rx,o=rx {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment