Thread:Project:Support desk/Centos 7: Could not create directory mwstore://local-backend/local-public/ and could not create Thumbnails/reply (2)

Hi,

I figured out the solution I assigned httpd_sys_content_t to the upload directory. Instead, the upload directory should have httpd_sys_rw_content_t. Here is what I did.

semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/mediawiki/upload(/.*)?" restorecon -R -v /var/www/html/mediawiki/upload