Unable to Complete Installation Due to File Permissions

Symptoms

Installing Confluence fails with an error similar to following which appears in the atlassian-confluence.log file.

2007-09-20 14:18:36,975 ERROR [http-80-Processor23] [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 /var/lib/confluence directory.
...
Caused by: java.io.IOException: Permission denied
	at java.io.File.createNewFile(File.java:876)

Cause

This occurs when the operating system user running Confluence has inadequate write permissions to the Confluence home directory (in this example '/var/lib/confluence')

Resolution

Ensure that the operating system user running Confluence has full read/write permissions to the Confluence home directory

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport