https://bugzilla.wikimedia.org/show_bug.cgi?id=48149

       Web browser: ---
            Bug ID: 48149
           Summary: Persistent "Unable to write to directory" Installer
                    error with SQLite backend when SELinux is enabled
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Installer
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: aklap...@wikimedia.org
                CC: innocentkil...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

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"?).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to