artifactory-docker-examples icon indicating copy to clipboard operation
artifactory-docker-examples copied to clipboard

Artifactory run with local directory volume in Docker for Windows fails to initialize due to directory permissions

Open AngelloMaggio opened this issue 6 years ago • 1 comments

When using Artifactory running inside a container on a Windows machine users can't restart artifactory due to issues with mounted storage. As workaround excluded security folder from the list of volumes inside docker compose file.

The error is the following: [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:94) - Application could not be initialized: The folder containing the key file /opt/jfrog/artifactory/etc/security/access/keys has too broad permissions! Please limit access to the Artifactory user only!

There is a JIRA for this as well, as the documentation examples also lead to the same problem.

It may be a good idea to at least just mention it on the documentation.

AngelloMaggio avatar Sep 18 '18 16:09 AngelloMaggio

@AngelloMaggio - thanks for the feedback. We'll look into it. I agree updating documentation should be done. Will update on this.

eldada avatar Sep 20 '18 05:09 eldada