-1

Like few mounth, I have a user rights issue that I can't resolve. I work on a CMS which a run on a docker container but I develop in local on my PhpStorm IDE. For the changes to be saved on my IDE, I must be in $user. On the contrary, on my docker container, I must be in www-data so that I can access the site in local.

I found several threads on the subject but none of the solutions worked. I have try this : Stackoverflow screen soluce

And also this :

Stackoverflow screen soluce2

But that doesn't work. Actually, My settings are like this : www-data:x:33:clement clement:x:1000:www-data

My user right : [rights user (https://i.stack.imgur.com/OykLZ.png)

If any of you have an idea of ​​the problem or the soluce, it's with pleasure to receive it !

ClemTmpl
  • 9
  • 1
  • I'd expect the `docker build` sequence to `COPY` the files into the image and change their ownership. What is in your current Dockerfile? How are you running the container? – David Maze Aug 25 '23 at 10:14

0 Answers0