[clamav-users] freshclam leaving files in /tmp

Michael Orlitzky michael at orlitzky.com
Tue Sep 29 12:08:11 UTC 2020


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.



More information about the clamav-users mailing list