Public bug reported:

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://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
        100 /var/lib/dpkg/status

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://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

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/local.php has permissions 0664 (rw-r
--r--), owner root and promary group www-data. It needs to be read by
the user www-data (apache), which is impossible with the current set up.

Solution: The simplest way I was able to get this to work is by running
"sudo chown www-data:root /etc/dokuwiki/local.php". Changing the
permissions to give the primary group write permissions did not seem to
work.

** Affects: dokuwiki (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1072246

Title:
  Incorrect permissions for local.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dokuwiki/+bug/1072246/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to