On Sat, 23 Jan 2021, Paul Claridge wrote:
My current project is a web service on Ubuntu LAMP (20.02LTS).
I have installed the clamav-daemon package successfully.
My php scripts run as www-data:www-data and I have changed the user and group
in /etc/clamav/clamd.conf to www-data:www-data so that the php library I
found can access the socket and scan files when I want to. I had to chown
both the socket and log directories to get the daemon the start.
Are you using
clamdscan --fdpass
or are you trying to access the socket via php ?
With the --fdpass option, the Ubuntu defaults should be all you need.
--
Andrew C. Aitchison Kendal, UK
[email protected]
_______________________________________________
clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml