Forums

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

Jira install folder permissions

Charlie February 7, 2018

Hi,

I did a reinstall of Jira a couple of weeks ago, and this time I installed Jira as a service. It's running on a RHEL 7.4 server. What I noticed recently is that all the folders and files under:

/opt/atlassian/jira

/var/atlassian/application-data/jira

When I tried to stop and start services with:  service jira stop, I got a permission denied error while running this as root. I then switched to the jira user I had created during my first install and that also did not work.

After reading some documentation I'm seeing that the jira user account should own both paths and the contents. My question is, would it be safe for me to change ownership of everything recursively?

As of now I can't stop services and I don't want to reboot the server.

Thanks.

 

1 answer

0 votes
Timothy
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.
February 7, 2018

When I tried to stop and start services with:  service jira stop, I got a permission denied error while running this as root

While I have not read the service that was installed lately, I think it runs the application with a specific user. You'll need to find the service and read it and check if it does indeed run the app with a specific user. You'll then need to fix all the permissions and you can do a chown xxx:xxx -r xxx

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events