Backup files now have different permission rights

Since we have upgraded Jira Service Desk our backup zip files have now changed.

Old rights: rw-rw-r--

New rights: rw-r-----

Can we changed the way the backups are configured so they go back to the old rights?

1 answer

0 vote

Hi Robert,

I am not aware of any recent updates to Jira or Service Desk that would have changed the permissions of these files as they sit in the $JIRAHOME/export/ folder or elsewhere.  

However technically both sets of permissions you listed are slightly off versus what permissions I would have expected for those files.  I would recommend checking our our KB on How to fix Jira directory Permissions in Linux for details of how we expect both Jira directories to be permissioned.   From that guide you can see that there are sample commands of:

sudo chown -R jira:jira /path/to/jirahome
sudo chown -R jira:jira /path/to/jirainstall

chmod -R u=rwx,g=rx,o=rx /path/to/jirahome
chmod -R u=rwx,g=rx,o=rx /path/to/jirainstall

this in turn should effectively set the permissions of those files to rwxr-xr-x   The write permissions only needs to exist for the Jira user that starts the Jira process to create that file. 

However if for some reason you want to grant the write permission to other group members, you should be able to do so as well.  It's just that Jira does not necessarily need to grant that permission for these files to be created successfully.

Regards,
Andy

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

970 views 2 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you