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?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.