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

Permission denied for files inside the draw folder

Open alex98RB opened this issue 7 months ago • 1 comments

I'm running the image in an OpenShift environment, which, for security purposes, executes containers with a random non-root user.. My issue is that the docker-entrypoint.sh script tries to write to files such as PreConfig.js, PostConfig.js, .keystore and more, but it fails with a Permission denied error because the user doesn't have the necessary write permissions.

Even if I add the user to the same group as the tomcat user, it still doesn't work — the group only has read access, not write access to these files.

Image

Is it possible to modify the group permissions of all those files inside the /usr/local/tomcat/webapps/draw/ so that users in the tomcat group can write to them? Or do you suggest an alternative solution?

alex98RB avatar Jun 19 '25 08:06 alex98RB