Re: Removing obsolete selinux setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux