cp: cannot create regular file '/mtasa/mods/deathmatch/acl.xml': Permission denied
Hi there!
First of all: Thanks for creating this docker image. I had started making my own but was running into difficulties and then found this one.
I'm trying to deploy this container but keep getting a particular error:
cp: cannot create regular file '/mtasa/mods/deathmatch/acl.xml': Permission denied
When I create a dummy acl.xml I get the same error with mtaserver.conf. It seems all the directories (data and resources) are giving permission denied.
I tried to chown -R 1000:1000 on every directory and set the PUID and GUID to 1000 in the env variables the same way my other containers have it but I can't seem to get it to work.
As the containers quits before I can get into the console, I can't actually see as which PUID or GUID it's running. Any chance you could give me a hint? :)
Nevermind!
I resolved it through adding the following as suggested in the readme:
-u $(id -u):$(id -g)