This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Won't fix
FS#2825 Message: Configuration file not writable
Backend
2013-08-01Pascaaal
I get the following message (in german), although the local.php is writable.
"Die Konfigurationsdatei kann nicht geändert werden. Wenn dies unbeabsichtigt ist,
überprüfen Sie, ob die Dateiberechtigungen korrekt gesetzt sind."
Writing the acl.auth.php and users.auth.php works perfectly.
[root@localhost conf]# ll
insgesamt 76
-rw-------. 1 apache apache 184 1. Aug 13:24 acl.auth.php
-r--------. 1 apache apache 2021 16. Jun 22:03 acronyms.conf
-r--------. 1 apache apache 12259 16. Jun 22:03 dokuwiki.php
-r--------. 1 apache apache 353 16. Jun 22:03 entities.conf
-r--------. 1 apache apache 6613 16. Jun 22:03 interwiki.conf
-r--------. 1 apache apache 1208 16. Jun 22:03 license.php
-rw-------. 1 apache apache 1510 1. Aug 13:24 local.php
-r--------. 1 apache apache 2564 16. Jun 22:03 mediameta.php
-r--------. 1 apache apache 2115 16. Jun 22:03 mime.conf
-r--------. 1 apache apache 242 1. Aug 13:07 plugins.local.php
-r--------. 1 apache apache 173 16. Jun 22:03 plugins.php
-r--------. 1 apache apache 428 16. Jun 22:03 plugins.required.php
-r--------. 1 apache apache 105 16. Jun 22:03 scheme.conf
-r--------. 1 apache apache 748 16. Jun 22:03 smileys.conf
-rw-------. 1 apache apache 211 1. Aug 13:23 users.auth.php
-r--------. 1 apache apache 1680 16. Jun 22:03 wordblock.conf
Maybe a bug in the check?
2013-08-01Pascaaal
If the entire directory (conf) is writable it works, but it should also work this way.
2013-08-02ChrisS
perhaps the message can be improved.
config manager saves local.php by moving the old file to local.php.bak and writing out a new local.php
plugin manager does something similar when saving the plugins.local.php file
2013-08-03Pascaaal
That explains the problem.
Why is it done this way? Was there problems with direct writing the files? Writing the acl.auth.php and users.auth.php directly seems to work fine.