add optional map permission for git_user_content_t type for httpd_t

map permission is needed up from f27.
This commit is contained in:
clime 2017-12-16 23:15:08 +01:00
parent 20ae63d8a7
commit d7c7f0e757

View file

@ -39,3 +39,8 @@ allow git_system_t git_user_content_t:lnk_file { read open getattr };
allow httpd_t git_user_content_t:dir { search getattr open read };
allow httpd_t git_user_content_t:file { read open getattr };
allow httpd_t git_user_content_t:lnk_file { read open getattr };
optional_policy(`
gen_require(` class file map; ')
allow httpd_t git_user_content_t:file map;
')