Praqma / staci

Containerizing the Atlassian tools stack. Jira, Confluence, Bamboo and a MySQL database.
MIT License
12 stars 5 forks source link

File permission issue for SSO - Confluence Image #80

Open timea opened 7 years ago

timea commented 7 years ago

When we need to configure the SSO settings as per https://confluence.atlassian.com/crowd/integrating-crowd-with-atlassian-confluence-198573.html#IntegratingCrowdwithAtlassianConfluence-2.2EnableSSOintegrationwithCrowd(Optional)

we need the CONFLUENCE/confluence/WEB-INF/classes/seraph-config.xml editable.

I added 2 lines to the confluence Dockerfile

line 28 became && chmod 700 "${CONF_INSTALL}/confluence/WEB-INF/classes/seraph-config.xml" \

line 33 became && chown atlassian:atlassian "${CONF_INSTALL}/confluence/WEB-INF/classes/seraph-config.xml" \

timea commented 7 years ago

Wanted to keep the permissions as restrictive as possible, but also we need to add a crowd.properties file to the same path, so I amend my recommentation to.

&& chmod -R 700 "${CONF_INSTALL}/confluence/WEB-INF/classes" \ && chown -R atlassian:atlassian "${CONF_INSTALL}/confluence/WEB-INF/classes" \