How to set file system permissions for Confluence
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
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.
the steps below assume that you are running Confluence Datacenter in your environment, if that's not the case please skip the <confluence-shared-home-folder> steps
Run the commands below then restart Confluence.
<confluence-user> with the dedicated user account that runs the Confluence process, and
<confluence-home-folder> with the appropriate values.
- To find the home folder, check this article Confluence Home and other important directories
sudo chown -R <confluence-user> <confluence-install-folder> sudo chown -R <confluence-user> <confluence-home-folder> sudo chown -R <confluence-user> <confluence-shared-home-folder> sudo chmod -R u=rwx,g=rx,o=rx <confluence-user> <confluence-install-folder> sudo chmod -R u=rwx,g=rx,o=rx <confluence-user> <confluence-home-folder> sudo chmod -R u=rwx,g=rx,o=rx <confluence-user> <confluence-shared-home-folder>
you can also write the permissions numerically. i.e: sudo chmod -R 755 <confluence-user> <confluence-install-folder>
- Right click on
<confluence-home-folder>and hit Properties.
- Navigate to the Security Tab and make sure that the user running Confluence has Full Control of this folder.
- Do the same for the
<confluence-install-folder> and <confluence-shared-home-folder>folders.
- Restart Confluence.
Creating a Dedicated User Account on the Operating System to Run Confluence
Was this helpful?Yes Provide feedback about this article