All pastes #769073 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-11 02:43 UTC
rendered paste body
]# touch myhttpd_home.te myhttpd_home.if myhttpd_home.fc

add the following to myhttpd_home.te
---------------------------------------------------
policy_module(myhttpd_home,1.0.0)
require
{
	type httpd_t;
	type unconfined_home_dir_t;
}

allow httpd_t unconfined_home_dir_t: dir r_dir_perms;
----------------------------------------------------

]# make -f /usr/share/selinux/devel/Makefile
]# semodule -i myhttpd_home.pp