How to fix directory permissions in Windows for Jira Server
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
On many occasions, JIRA is not able to run properly due to file or directory permission error
Solution
You will first need to find out the user who run JIRA.
- If you are running applications as a Windows service :
Navigate to the Service in Windows, i.e. Control Panel > Administrative Tools > Services
Locate Atlassian Jira service, right-click and view the Properties
Go to the Log On tab and check the account
See Running Jira applications as a Windows service for how to run as a service
- If you are running applications manually by <jira-install>/bin/startup.bat :
From The System Info page on your JIRA instance
From the Support Zip ( application.xml file ) search for <JIRA_USER>
From the $JIRA_HOME/log/atlassian-jira.log, search for 'user.name'
Fix the permission of the JIRA Home & Installation directory
- Go to Jira Home/ Installation directory, right-click and view the Properties
- Go to the Security tab and check permission for who is running Jira. If the user doesn’t have Read & execute, Read, Write permission click Edit… and allow it
- If you cannot find Jira user please click Add… and search group/user.