Incorrect permissions for local.php
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dokuwiki (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 12.10
Release: 12.10
dokuwiki:
Installed: 0.0.20120125b-1
Candidate: 0.0.20120125b-1
Version table:
*** 0.0.20120125b-1 0
500 http://
100 /var/lib/
Using apache2 webserver, not lighthttpd.
apache2:
Installed: 2.2.22-6ubuntu2
Candidate: 2.2.22-6ubuntu2
Version table:
*** 2.2.22-6ubuntu2 0
500 http://
100 /var/lib/
Procedure for recreating bug:
- Install dokuwiki package.
- In web browser, go to localhost/dokuwiki.
- Click login, log in with admin username and password.
- Click admin button.
- Click on the "Configuration Settings" link.
Expected behavior: There should be a save button at the bottom.
Observed behavior: A blue message box appears with "The settings file can not be updated, if this is unintentional,
ensure the local settings file name and permissions are correct."
Explanation: The file /etc/dokuwiki/
Solution: The simplest way I was able to get this to work is by running "sudo chown www-data:root /etc/dokuwiki/
Status changed to 'Confirmed' because the bug affects multiple users.