Hey,
i installed ownCloud 8.1.3 on CentOS 7... no i want to enable the AntiVirus App with ClamAV.
When the ownCloud AntiVirus app tries to scan a file... i get the following error message in SELinux...
type=AVC msg=audit(1444637969.794:371): avc: denied { write } for pid=2086 comm="httpd" name="clamd.sock" dev="tmpfs" ino=19329 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:antivirus_var_run_t:s0 tclass=sock_file
The Apache user has the permission to access the clamd.sock... when selinux is disabled everything is working fine.
Is there a default rule which i can turn on or maybe another configuration to allow the access?
Hope anyone can help me
SELinux - ClamAV Socket (Permission denied)
Re: SELinux - ClamAV Socket (Permission denied)
Found a Solution by myself with audit2allow