[selinux-policy: 969/3172] temp genhomedircon hack
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 20:28:45 UTC 2010
commit de0d2651a7bf13ec3b8999cb4c74927e92cdb308
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Mon Nov 14 22:38:14 2005 +0000
temp genhomedircon hack
refpolicy/policy/modules/services/apache.fc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
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)
More information about the scm-commits
mailing list