Stuff
public text v1 · immutable]# 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