diff --git a/BackupPC.spec b/BackupPC.spec index 0c63fd5..15398a2 100644 --- a/BackupPC.spec +++ b/BackupPC.spec @@ -106,21 +106,21 @@ require { type ping_exec_t; type sendmail_exec_t; class file getattr; - type httpd_sys_content_t; + type var_run_t; class sock_file getattr; } -allow httpd_t httpd_sys_content_t:sock_file write; +allow httpd_t var_run_t:sock_file write; allow httpd_t initrc_t:unix_stream_socket connectto; allow httpd_t ping_exec_t:file getattr; allow httpd_t sendmail_exec_t:file getattr; allow httpd_t ssh_exec_t:file getattr; -allow httpd_t httpd_sys_content_t:sock_file getattr; +allow httpd_t var_run_t:sock_file getattr; EOF cat >%{name}.fc <