On 29.09.20 13:30, Duncan Berriman via clamav-users wrote:
Perhaps the example conf files should use/suggest a better location.
debian uses (/var)/run/clamav/ for this.
the default is I guess specified by --runstatedir, which is default
--localstatedir /run , where --localstatedir is by default /var
if you change the defaults, it's better to know why and how
On Tue, Sep 29, 2020 at 1:09 PM Michael Orlitzky via clamav-users <
[email protected]> wrote:
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.
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I'm not interested in your website anymore.
If you need cookies, bake them yourself.
_______________________________________________
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