Skip to content

Permission denied for files inside the draw folder #190

@alex98RB

Description

@alex98RB

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions