Fixed SELinux contexts from mythweb data directory.

This commit is contained in:
Timo Mkinen 2010-10-06 22:47:45 +03:00
parent 5e86daf03f
commit 3b14f784e0

View file

@ -128,6 +128,13 @@ class mythtv::mythweb {
require => Package["mythweb"],
}
if $selinux {
selinux::manage_fcontext { "/usr/share/mythweb/data(/.*)?":
type => "httpd_sys_rw_content_t",
before => File["/usr/share/mythweb/data"],
}
}
file { "/usr/share/mythweb/data":
ensure => directory,
mode => 0770,