Fixed SELinux contexts from mythweb data directory.
This commit is contained in:
parent
5e86daf03f
commit
3b14f784e0
1 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue