How to generate a file inside the container that has the same permissions as my local user?

0

Whenever I generate a file inside the php container, this file is root, I always need to give chmod -R 777 to be able to edit and this is very annoying, for example, my user is rafaelconceicao and inside the container the permissions are for root and a user that is a sequence of numbers 296823135, whenever I generate a new file, it remains the root permission, making it impossible for me to do the editing. What should I do?

My docker files are here: link

Created from: link

    
asked by anonymous 16.01.2018 / 21:43

0 answers