On 2020-09-29 07:18, Duncan Berriman via clamav-users wrote:
> Hi,
>
> Each time freshclam runs automatically via clamd it is leaving 2
> temporary files in /tmp.
>
> -rw------- 1 root root 0 Sep 29 09:17 tmp.UdjG3Qnk4E
> ...
> srw-rw-rw- 1 root root 0 Sep 29 11:00 clamd.socket
> -rw-r----- 1 clamav clamav 377 Sep 29 11:11 ClamAV.update.log
>
Off-topic: you shouldn't use /tmp for the clamd socket, or anything else
with a predictable name (that's why all the other tmp.* files have
"random" names). Anyone on the machine can create (and thus own) that
file after the machine reboots, leading to security issues.
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
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