wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
60 stars 80 forks source link

Create ~/.config directory for www-data #62

Closed iVegas closed 5 years ago

iVegas commented 5 years ago

In cases when 3-rd party libraries that executed via PHP, www-data user should be able to store configurations of 3-rd party library.

Expected result: /home/www-data/.config has 700 mode and www-data user able to write data there.

Current result: /home/www-data/.config not exists

P.S.: Wondering maybe this issue related to the base-php image

csandanov commented 5 years ago

Thank you for reporting this, there was an issue in wodby/php image – /home/www-data was owned by wodby user instead of www-data. Fixed now and available as a part of 4.9.2 stability tag, you now should be able to create ~/.config from www-data user