geerlingguy / drupal-container

Drupal container for running Drupal sites with Docker, built with Ansible.
https://hub.docker.com/r/geerlingguy/drupal/
44 stars 27 forks source link

Change ownership of Drupal core files to www-data user #5

Closed geerlingguy closed 6 years ago

geerlingguy commented 6 years ago

Currently some files are owned by www-data, some by root, and this can cause issues depending on the container lifecycle, especially with things like files dir and settings.php permissions.

See, for reference, https://github.com/geerlingguy/raspberry-pi-dramble/issues/104#issuecomment-395275620