Forums

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

Jira & Confluence logs permission denied on Ubuntu 18.04

msaiducar March 15, 2019

Hi all,

 

I have Jira Server (v8.0.2) and Confluence Server (v6.13.0) installed on my Server (Ubuntu 18.04). However, I can't see the application logs due to the permission issue using my {user}.

 

My application home is /opt/atlassian/jira and /opt/atlassian/confluence . The ownership of the folders are following;

 

drwx------ 18 confluence root 4.0K Mar 14 13:46 confluence/
drwx------ 12 jira root 4.0K Mar 14 14:03 jira/

 

If I try to enter jira or confluence folder, I got an error.

-bash: cd: jira/: Permission denied

 

Of course I could see any files if I switch to root user however that is not reasonable as you all know. What is the convenient way of seeing application logs of atlassian products? Should I add my {user} to confluence and jira user groups?

 

 

1 answer

0 votes
Stephen Cheesley [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.
March 15, 2019

The permissions that you have for the 'jira' directory, permit the 'jira' user alone to even view that directory. Therefore, you must be using a user other than 'jira' when you perform the 'cd' command.

Solution

If you are the administrator of this machine, you can either:

  • 'sudo' in as the 'jira' user and perform the operations that you want 

    sudo -S -u jira
  • create a group to administer the two (i.e. 'atlas-admin') and recursively add those directories to that group, and give that group the permission level you require

IMHO the second option is preferable because you then have a permanent route by which to administer these instances. Furthermore, you are then actually making changes using your own user, which has better audit implications.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events