I received an answer that worked on the fedora forums.

1. Edit the file /etc/selinux/targeted/modules/active/file_contexts.local and comment/fix the wrong contexts.

In my case this meant changing httpd_mediawiki_rw_content_t to mediawiki_rw_content_t. Then I used

# semanage fcontext -a -t httpd_sys_rw_content_t '/etc/dokuwiki'
# semanage fcontext -a -t httpd_sys_rw_content_t '/etc/dokuwiki/users.auth.php'
# semanage fcontext -a -t httpd_sys_rw_content_t '/etc/dokuwiki/local.php'
# restorecon -R /etc/dokuwiki

to get the files setup properly.

Seems like the dokuwiki selinux package should be setup to do something similar.

Pete
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to