Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Help: Confluence-Jira Application Data Folder Owner/Group Settings

Jack Wilson June 1, 2018

Upgraded To:    Confluence v6.9.0
Operating Sys:  Ubuntu Linux

I am running into 403 Forbidden Errors when accessing a page in the wiki as an anonymous user. One odd thing about it? Its not every page I access. It happens only occasionally. I am thinking security rights?

My installation folder for the data resides under /var folder and is called Atlassian. Under that folder is application-data. Then independent folders for Confluence and Jira.

For the two independent folders I have them set Owner/Group to the appropriate application. Confluence / Jira. That I understand is correct.

The issue is with atlassian and application folders. These I do not know what Owner/Group should be set to. Currently they are set to root, but I do not believe that to be right. If I try setting the two folders for Owner/Group of confluence, Jira does not work. And vice versa.

Can someone please tell me what The Atlassian and application-data folders Owner/Group settings should be?

Love the new features, anxious to move forward!

Thank You in advance!

Jack

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2018

The owner for the directories should be the user who is running the service.

For example, on my server below, I've given ownership to charlie.  By default though, Confluence and Jira installers will create dedicated users Jira and Confluence, and you should make the directories owned by their dedicated users.  To do what I've done with charlie, you have to edit the user.sh files in both Jira and Confluence's /bin directories.

nic@zen:~$ ps -ef | grep charlie
charlie  14922     1  1 05:20 ?        00:08:15 /opt/jira/jre//bin/java <snip>
charlie  14951     1  1 05:20 ?        00:07:00 /opt/confluence/jre//bin/java <snip>
charlie  15275 14951  0 05:22 ?        00:02:25 /opt/confluence/jre/bin/java <snip>


nic@zen:~$ ls -l /opt
total 2240548
drwxr-xr-x 14 charlie charlie      4096 Mar 13 23:19 confluence
drwx------ 19 charlie charlie      4096 Jun  3 05:23 data-conf
drwx------ 13 charlie charlie      4096 Jun  1 05:20 data-jira
drwxr-xr-x 15 charlie charlie      4096 Mar 12 22:42 jira

0 votes
Jack Wilson June 2, 2018

Can anyone help me with this please?

Suggest an answer

Log in or Sign up to answer