Multiple problems due to file system permissions configuration
A wide variety of symptoms can occur, including:
- Unable to update or license key. One of the most common errors to appear is "The license you entered was not valid"
- Unable to upload attachments.
- Unable to move or copy pages with attachments.
- Unable to install Confluence.
- Indexer not updating. For more details: See here.
The following appears in the
2008-02-28 03:41:24,372 ERROR [TP-Processor2] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action -- url: /confluence/setup/dosetuplicense.action | userName: anonymous com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /export/confluence/data directory. at com.atlassian.config.xml.AbstractDom4jXmlConfigurationPersister.saveDocument (AbstractDom4jXmlConfigurationPersister.java:75) at com.atlassian.config.xml.DefaultDom4jXmlConfigurationPersister.save(DefaultDom4jXmlConfigurationPersister.java:23) ... Caused by: java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:850)
If you cannot create attachments, something like this may appear in the atlassian-confluence.log
ERROR [http-8080-9] [confluence.pages.thumbnail.DefaultThumbnailManager] getThumbnailsFolder Containing folders /data/confluence/data/thumbnails/34677261 for the attachment test.png could not be created
This is caused by a problem with the directories' permissions. Users are not granted the necessary permission to access the directories.
Grant all Operating Systems permissions for the user running Confluence to access the
confluence-install directories. Refer to Confluence Home and other important directories for the location of the
If you are still getting java.io.UnixFileSystem.createFileExclusively although the permissions are all set and it occurred when trying to generate an XML backup, you are hitting this bug instead: - CONF-28575Getting issue details... STATUS