Mark Hennessy wrote:
I've seen some instances where clamd will sometimes leave large directories
named like clamav-[hash] or large files named like clamav-[hash] and not
clean them up after they're done with. As far as I can tell, clamav was
Hi Mark:
I am seeing the same as well -- and this is a new installation of
0.88.6. Have been seeing these since installing the package about a
week ago.
I haven't looked into the LibClamAV code to figure out what the reason
is yet. Maybe someone on this list might know off-hand. It looks like
a permissions issue, but doesn't seem obvious.
Here's an example of one of the directories that's failing removal:
# ls -l clamav-507d766bac9683c7
total 24
-rw------- 1 clamav clamav 516 Dec 12 16:21
mixedtextportionsd7jrj
-rw------- 1 clamav clamav 6345 Dec 12 16:21
mixedtextportionsh7jrk
These errors are showing up regularly in the clam log:
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-6f0b3bbf9fc92179: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-a4e937e6e7a4c911: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-472205e10b4b5965: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-1e1b92cf5ddee22d: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-8aee2f01ede03888: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-d3bd2e61fbbc5e88: Error 0
LibClamAV Error: Can't remove temporary directory
/tmp/clamav-507d766bac9683c7: Error 0
clamd and clam-milter are running under the uid/gid of clamav/clamav,
and these files are all owned by clamav/clamav.
--joe
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html