wp-docker icon indicating copy to clipboard operation
wp-docker copied to clipboard

Permission for dev user

Open joke2k opened this issue 7 years ago • 1 comments

Hi, actually the public/ and config/ folder are generated with write permission only for www-data user. In order to allow the development of plugin or themes we need to relax some auth. I tried to add myself to www-data with:

sudo usermod -a -G www-data joke2k

but isn't enough, because permissions are 755 and the groupers cannot write. What's your best practice to solve it with wordmove in mind? Changemod everything?

joke2k avatar Jun 15 '18 09:06 joke2k

Hi @joke2k, I think it's a docker permission related issue. I'm investigating because I'm sure that this not happens on Mac and on some linux machine.

I'll try to use the :Z flag on volumes in the docker-compose.yml but it depends a lot on how the original docker file was made and I'm using the official containers for all the software.

Is it SELinux active on your machine?

I'll continue investigating and keep you updated.

EugenioPetulla avatar Jun 16 '18 01:06 EugenioPetulla