How are the file-level permissions usually configured on the shared home folder for attachments?
All the nodes in the cluster must be able to read and write files created by other nodes in the cluster, and I was wondering how this is usually configured in the file system (as there doesn't seem to be any options in JIRA to change how the files are written).
For my development instance, I created two JIRA instances on the same host. They ended up running under different user ids, and this caused issues because the first node created files as jira1/jira1 rwx------ , which couldn't be read by jira2.
Are there settings in JIRA to configure the group, r/w permissions etc, or is this completely done at the os level; configuring shared groups, umask etc,
Our plugin also writes files to the shared home directory, should I worry about permissions in my plugin, or is it up to the system admin to configure the file system correctly?
Solved! Go to Solution.
The default installation does not support the following, as it just goes ahead and creates a local id on each install, but you can do the following:
- create a service account to run JIRA with.
- set permissions of the local home and shared home directories to this service account
- override JIRA on each node to run under the common account id. All nodes run under the same guid.
- if you setup jira to run as a service you can overide the id to run it under by setting value in <JIRA_INSTALL>/bin/user.sh (see https://confluence.atlassian.com/jirakb/how-to-set-the-user-jira-runs-as-in-linux-433390559.html)
it would be great is the installer would prompt for a service account id, and if none provided then go ahead and create the 'jira' one as it does now.
Hi, I'm product manager at Atlassian running research on preferable Data Center deployment options. I would highly appreciate if you could answer questions from a short survey on the topic. Your answers will help us a lot in prioritisation of new Data Center deployment options.
Survey → https://goo.gl/forms/hcwdsLi3yBiobXDG3
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.