[clamav-users] What are all the tmp.xyzuvwpqrs subdirs that keep accumulating

Gary R. Schmidt grschmidt at acm.org
Fri Feb 12 02:56:16 UTC 2021


On 12/02/2021 13:13, Paul Kosinski via clamav-users wrote:
> For ClamAV 0.103.0:
>    root at ime1:~# grep -i temporary /opt/clamav.d/clamav.0.103.0/etc/clamd.conf
>    # Optional path to the global temporary directory.
>    TemporaryDirectory /var/clamav/tmp
>    # Do not remove temporary files (for debug purposes).
>    LeaveTemporaryFiles 0
> 
> For ClamAV 0.102.1 it was the same:
>    root at ime1:~# grep -i temporary /opt/clamav.d/clamav.0.102.2/etc/clamd.conf
>    # Optional path to the global temporary directory.
>    TemporaryDirectory /var/clamav/tmp
>    # Do not remove temporary files (for debug purposes).
>    LeaveTemporaryFiles 0
> 
> But the subdirs are in my "/opt/clamav.d/clamav.0.103.0/share/clamav/" directory. (I install each new version under opt, "just in case".)
> 
> And there's no "temporary". "tmp" or "temp" (except in the word "attempt") in my freshclam.conf file.
> 

I just went looking and found "/opt/local/share/clamav/tmp.77a1455e78" 
dated October 30...
$ ll 
/opt/local/share/clamav/tmp.77a1455e78/clamav-37769720ed6dc18131606d4cf7347de0.tmp/
total 23762
   41 -rw-r--r--   1 clamav   clamav     17992 Oct 30 01:21 COPYING
    9 -rw-r--r--   1 clamav   clamav       424 Oct 30 01:21 daily.cfg
   25 -rw-r--r--   1 clamav   clamav      9404 Oct 30 01:22 daily.crb
   57 -rw-r--r--   1 clamav   clamav     26306 Oct 30 01:22 daily.fp
    9 -rw-r--r--   1 clamav   clamav      3530 Oct 30 01:22 daily.hdu
23585 -rw-r--r--   1 clamav   clamav   12058624 Oct 30 07:33 daily.hsb
    9 -rw-r--r--   1 clamav   clamav       195 Oct 30 01:22 daily.hsu
    9 -rw-r--r--   1 clamav   clamav      1245 Oct 30 01:22 daily.ign
    9 -rw-r--r--   1 clamav   clamav       931 Oct 30 01:22 daily.ign2
    9 -rw-r--r--   1 clamav   clamav      2282 Oct 30 01:21 daily.info

Looks like it might be a hangover from something that died unnaturally 
during an update??

Alas I do not recall if I was fiddling with ClamAV back then.

NOTE: Times are AEDT, so +11.

	Cheers,
		Gary	B-)



More information about the clamav-users mailing list