[clamav-users] LibClamAV Error: cli_gentempfd_with_prefix: Can't create temporary file /var/lib/clamav/tmp/clamav-79a31bb0e183db96d4b7b27484373a6e.tmp: No such file or directory

Gary R. Schmidt grschmidt at acm.org
Sat Jan 11 12:53:19 UTC 2020


On 11/01/2020 23:09, G.W. Haywood via clamav-users wrote:
> Hi there,
> 
> On Fri, 10 Jan 2020, Chris via clamav-users wrote:
> 
>> Since upgrading to 0.102.1+dfsg-0ubuntu0.18.04.2 this past Wednesday
>> I'm seeing the above error in my syslog. I see the same error if I set
>> the temporary path to /var/tmp
>>
>> clamd[25154]: LibClamAV Error: cli_gentempfd_with_prefix: Can't create
>> temporary file /var/tmp/clamav-f297c096fb16292e8547120761d949f3.tmp:
>> Permission denied
>>
>> Permissions for /var/tmp are
>> drwxrwxrwt  13 root root     12288 Jan 10 19:26 tmp
>>
>> and for /var/lib/clamav
>> drwxrwxr-x  3 clamav        clamav        4096 Jan 10 18:04 clamav
>>
>> Any suggestions?
> 
> Check the list archives, I think this has been discussed recently.
> 
I had a similar problem show up after I was fiddling around with a 
working freshclam - stopping the various clam* daemons, counting to ten, 
and re-starting them cleared the problem.

	Cheers,
		Gary	B-)



More information about the clamav-users mailing list