From de0d2651a7bf13ec3b8999cb4c74927e92cdb308 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Nov 14 2005 22:38:14 +0000 Subject: temp genhomedircon hack --- diff --git a/refpolicy/policy/modules/services/apache.fc b/refpolicy/policy/modules/services/apache.fc index 43a881a..c856938 100644 --- a/refpolicy/policy/modules/services/apache.fc +++ b/refpolicy/policy/modules/services/apache.fc @@ -1,5 +1,9 @@ - +# temporary hack till genhomedircon is fixed +ifdef(`targeted_policy',` +HOME_DIR/((www)|(web)|(public_html))(/.+)? gen_context(system_u:object_r:httpd_user_content_t,s0) +',` HOME_DIR/((www)|(web)|(public_html))(/.+)? gen_context(system_u:object_r:httpd_ROLE_content_t,s0) +') /etc/apache(2)?(/.*)? gen_context(system_u:object_r:httpd_config_t,s0) /etc/apache-ssl(2)?(/.*)? gen_context(system_u:object_r:httpd_config_t,s0)