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 votes

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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

741 views 5 17
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot