Skip Sopscak
Skip Sopscak

Reputation: 1

Does artifactory home directory need to be world-readable?

We operate Artifactory on a RHEL 7 Linux server. It runs as the local user artifactory. His home directory is /var/opt/jfrog/artifactory and its mode is 755. Our security folks would prefer it to be 750. Does this directory need to be world-readable or can we restrict it?

Upvotes: 0

Views: 183

Answers (1)

Adi Vizgan
Adi Vizgan

Reputation: 299

I installed Artifactory and changed the home directory and all its subdirectories to be "chmod 750". After some testing, I did not encounter any issues with this change. I successfully started Artifactory and performed some basic tests such as creating a few repositories, changing some configuration, uploading and downloading artifacts, creating users and permissions, etc. All of my tests were successful and it seems that you can change the mode of the Artifactory home to 750 without any issues.

Upvotes: 1

Related Questions