selinux-policy/refpolicy/policy/modules/services/publicfile.fc

8 lines
295 B
Plaintext

/usr/bin/ftpd -- gen_context(system_u:object_r:publicfile_exec_t,s0)
/usr/bin/httpd -- gen_context(system_u:object_r:publicfile_exec_t,s0)
# this is the place where online content located
# set this to suit your needs
#/var/www(/.*)? gen_context(system_u:object_r:publicfile_content_t,s0)