1

In our network, all VMs and server have /tmp mounted as noexec for security purposes. Trying to install Jira ends in a failure trying to run Java from that folder. How do I overcome this problem?

2 Answers2

0

Even if you found a workarround by using the root user, this is not recommended from security point of view.

As mentioned on the Atlassian documentation, you should create a jira user and install the software as that user.

Have you created a dedicated user to run Jira?

We strongly recommend running Jira as a dedicated user.

You should create this user before you begin, so that when creating the installation and home directories, you can give this user appropriate read and write permissions.

In this example, we'll create a user called jira:

$ sudo /usr/sbin/useradd --create-home --comment "Account for running Jira Software" --shell /bin/bash jira
-1

In our case we had the installer in the home folder of a non-root user, and trying to install as root (sudo). I copied the installer to the root user's home folder, chown'd it to root:root and it worked.