diff --git a/README.md b/README.md index cc8380942f43db862eb228f7f78a2a124b00a4ef..70a95f3d82ad2d0a02cfa927d8a4f9602c7a3d18 100644 --- a/README.md +++ b/README.md @@ -380,5 +380,5 @@ For more details we recommend the following links: - [Documentation](https://docs.docker.com/compose) - Docker4Drupal - [Home](https://github.com/wodby/docker4drupal) - - [Documentation](http://docs.docker4drupal.org/en/latest) + - [Documentation](https://wodby.com/stacks/drupal/docs/local) - [Wodby](https://wodby.com) diff --git a/src/Handler.php b/src/Handler.php index 4c2ab63566435cf34e973aa763296297a19c4fab..b128125626102a6a54a629e665a9481241936cee 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -194,6 +194,10 @@ class Handler { $traefik = new Traefik($options['projectname']); $traefik->update(); + + // Set permissions, see https://wodby.com/stacks/drupal/docs/local/permissions + exec('setfacl -dR -m u:$(whoami):rwX -m u:82:rwX -m u:100:rX' . $projectRoot); + exec('setfacl -R -m u:$(whoami):rwX -m u:82:rwX -m u:100:rX' . $projectRoot); } /**