Hermsi1337 / docker-ark-server

Dockerize your ARK server - configurable via env
https://hub.docker.com/r/hermsi/ark-server/
MIT License
115 stars 35 forks source link

mkdir: cannot create directory ‘/app/log’: Permission denied #27

Closed unterdrueckt closed 2 years ago

unterdrueckt commented 2 years ago

Ark Server - Thu 30 Dec 2021 11:16:06 PM UTC

UID 1000 - GID 1000

ARGS


Setting up folder and file structure...

mkdir: cannot create directory ‘/app/log’: Permission denied

jstnmthw commented 2 years ago

Make sure the user who controls the docker container has access to that folder on the local drice. In my case, the user was ubuntu but the folder created was owned by root, Once I changed ownership, the permissions issues went away.

Hermsi1337 commented 2 years ago

With #25 the entrypoint.sh ensures correct rights on the app-dir when starting.

This should fix your issue (=