Last modified: 2013-07-30 00:10:49 UTC
I tried to install 1.22alpha (from git master) on Fedora 18 with SQLite backend. Puzzled why I still got "Unable to write to the directory X. Change its permissions so that the webserver can write to it, and try again." even after running "chmod a+rwx" on that directory, I finally realized that running setenforce 0 does the trick. SELinux to blame here, but not clear at all. So I'm wondering whether it's worth to check for it, or at least to mention in the error. Maybe combined with checking system/distro (via "lsb_release -a"?) and/or checking the SELinux status (via "cat /etc/sysconfig/selinux"?).
(In reply to comment #0) > (via "cat /etc/sysconfig/selinux"?) Running "sestatus" might be even better, provides SELinux status: allowed as first line here.
Seems to be covered under http://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#SELinux hence feel free to close this, however it would be nice if such errors could either provide more information or link to that part of the manual.