Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,527
Community Members
 
Community Events
165
Community Groups

Confluence Files with wrong owner

Hi,

i did upgrade to version 7.13.7 due to the security alert. The upgrade procedure works flawless except that the installer told me at the beginning, that he cannot access some files an i should do the upgrade with sudo. I did so an it worked. Afterwords i recognized, that many files in some folders are owned by root.root and could not be accessed by confluence. confluence could also not start. I then did a chown -R confluence.confluence and confluence could start again.

Can you please tell me if there exists some procedure to check a installation for correct file-permissions / file-owner ?

BR

 

3 answers

2 accepted

1 vote
Answer accepted

Hi @Michi ,

Welcome to the community.

Ensure that the following directories can be read and written to by this dedicated user account (e.g. 'confluence'):

  • The sub-directories of the Confluence Installation Directory:
    logs
    temp
    work
  • The entire Confluence Home directory 

Detail explanation is in https://confluence.atlassian.com/doc/creating-a-dedicated-user-account-on-the-operating-system-to-run-confluence-255362445.html

0 votes
Answer accepted
Mayur Jadhav Community Leader Jun 09, 2022

Hi @Michi ,

Welcome to the Atlassian Community!!.

Atlassian always recommends starting or off the confluence with the Confluence user. I would suggest you check the user.sh file.

  1. The path of the file is  <Installation_Direrctory>/bin/  and check which user are you running confluence in the file and please change it to Confluence.
  2. Please change the user and group membership of the Installation and Application directory using the chown -R confluence:confluence  directory_name.
  3. Please also check the Permission of the files ideally this file needs to read, write, then 775 or 755 based on you by using chmod -R 775 or 755 directory_name (Installation and Application ).
  4. Start you confluence by using confluence user.

 

 

hope this information is helpful.

Regards,
Mayur

thanks for answers.

I checked all files manually for correct owner/group.

Best Regards

Michi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

202 views 1 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you