Merge pull request #259 from cgzones/apache
apache: use correct content types in apache_manage_all_user_content()
This commit is contained in:
commit
14acb02b90
|
@ -1202,13 +1202,13 @@ interface(`apache_search_sys_scripts',`
|
|||
#
|
||||
interface(`apache_manage_all_user_content',`
|
||||
gen_require(`
|
||||
type httpd_user_content_t, httpd_user_content_rw_t, httpd_user_content_ra_t;
|
||||
type httpd_user_content_t, httpd_user_rw_content_t, httpd_user_ra_content_t;
|
||||
type httpd_user_htaccess_t, httpd_user_script_exec_t;
|
||||
')
|
||||
|
||||
manage_dirs_pattern($1, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t }, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t })
|
||||
manage_files_pattern($1, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t httpd_user_htaccess_t }, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t httpd_user_htaccess_t })
|
||||
manage_lnk_files_pattern($1, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t }, { httpd_user_content_t httpd_user_content_rw_t httpd_user_content_ra_t httpd_user_script_exec_t })
|
||||
manage_dirs_pattern($1, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t }, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t })
|
||||
manage_files_pattern($1, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t httpd_user_htaccess_t }, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t httpd_user_htaccess_t })
|
||||
manage_lnk_files_pattern($1, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t }, { httpd_user_content_t httpd_user_rw_content_t httpd_user_ra_content_t httpd_user_script_exec_t })
|
||||
')
|
||||
|
||||
########################################
|
||||
|
|
Loading…
Reference in New Issue