mirror of https://github.com/MISP/MISP
fix: [selinux] allow log files rename
parent
a0ead60b4d
commit
f767ffeec5
|
@ -7,10 +7,10 @@ require {
|
|||
type httpd_sys_content_t;
|
||||
type httpd_sys_rw_content_t;
|
||||
class dir { ioctl read getattr lock search open remove_name };
|
||||
class file { unlink write };
|
||||
class file { unlink write rename };
|
||||
}
|
||||
#============= logrotate_t ==============
|
||||
allow logrotate_t httpd_sys_content_t:dir { ioctl read getattr lock search open };
|
||||
allow logrotate_t httpd_sys_rw_content_t:dir { ioctl read getattr lock search open };
|
||||
allow httpd_t httpd_log_t:dir remove_name;
|
||||
allow { httpd_t httpd_sys_script_t } httpd_log_t:file { unlink write };
|
||||
allow { httpd_t httpd_sys_script_t } httpd_log_t:file { unlink write rename };
|
||||
|
|
Loading…
Reference in New Issue