Hi,
I have snap 15 and installed and configure the clamav in snap nextcloud getting the below error of Permission denied.
{āreqIdā:āwDDTR1f1W95ZaCBBlzmiā,ālevelā:3,ātimeā:āMarch 27, 2019 12:30:15ā,āremoteAddrā:"",āuserā:"ā",āappā:āPHPā,āmethodā:"",āurlā:"ā",āmessageā:āstream_socket_client(): unable to connect to unix:///var/run/clamav/clamd.ctl (Permission denied) at /var/snap/nextcloud/11891/nextcloud/extra-apps/files_antivirus/lib/Scanner/External.php#41ā,āuserAgentā:"ā",āversionā:ā15.0.5.3ā}
Audit log error (apparmor=āDENIEDā)
type=SERVICE_START msg=audit(1553699061.819:51856): pid=1 uid=0 auid=4294967295 ses=4294967295 msg=āunit=clamav-daemon comm=āsystemdā exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=successā
type=AVC msg=audit(1553699082.996:51857): apparmor=āDENIEDā operation=āmknodā