How to set file system permissions for Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

    

Summary

In order to work properly, Confluence requires complete access to its files and directories. 

Many issues might surface when the account running the Confluence process doesn't have permission to write or to read files in the home directory.

Solution

Linux

Run the commands below then restart Confluence.

Replace <confluence-user> with the dedicated user account that runs the Confluence process, and <confluence-install-folder> and <confluence-home-folder> with the appropriate values.

sudo chown -R <confluence-user> <confluence-install-folder>
sudo chown -R <confluence-user> <confluence-home-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-install-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-home-folder>

Windows

  1. Right click on <confluence-home-folder> and hit Properties.
  2. Navigate to the Security Tab and make sure that the user running Confluence has Full Control of this folder. 
  3. Do the same for the <confluence-install-folder> folder.
  4. Restart Confluence.

Related Content

Creating a Dedicated User Account on the Operating System to Run Confluence


Last modified on Jan 13, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.