Hi Matus Many thanks, much appreciated
Please see result which is showing clamav and we do not run freshclam under root - it is run under clamav (244) I am sorry if I am wrong and thank everyone for their help Many thanks John ls -la /var/clamav/tmp total 8 drwxr-xr-x 2 clamav clamav 4096 Jan 23 15:16 . drwxr-xr-x. 3 clamav clamav 4096 Jan 23 15:16 .. for fullness ls -la /var/clamav total 172072 drwxr-xr-x. 3 clamav clamav 4096 Jan 23 15:16 . drwxr-xr-x. 26 root root 4096 Sep 24 2018 .. -rw-r--r-- 1 clamav clamav 296388 Nov 21 12:51 bytecode.cvd -rw-r--r-- 1 clamav clamav 58022101 Jan 23 15:15 daily.cvd -rw-r--r-- 1 clamav clamav 117859675 Nov 26 07:38 main.cvd drwxr-xr-x 2 clamav clamav 4096 Jan 23 15:16 tmp -----Original Message----- From: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Matus UHLAR - fantomas Sent: 24 January 2020 12:55 To: clamav-users@lists.clamav.net Subject: Re: [clamav-users] Problem to update virus database On 24.01.20 12:40, j...@doc2disk.com wrote: >I think this is the issue but uid/gid is correct for 244 and has full >rewrite on folders > >Can't create new file >/var/clamav/tmp/clamav-61f7880d2549a998be74b30d38fe6fc5.tmp in >/var/clamav >Hint: The database directory must be writable for UID 244 or GID 244 you apparently created either dirs /var/clamav/tmp/clamav-61f7880d2549a998be74b30d38fe6fc5.tmp when ran freshclam under root. do: ls -la /var/clamav/tmp/ -- Matus UHLAR - fantomas, uh...@fantomas.sk ; 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. The only substitute for good manners is fast reflexes. _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net 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 The content of this email are intended for the named addressee only. It contains information that may be confidential and which may also be privileged. Unless you are the named addressee (or authorised to received for the addressee) you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Further, we make every effort to keep our network free from viruses, and all email passes through full antivirus, content and spam filters. However, you do need to scan this email and any attachments to it for viruses as we can take no responsibility for any computer virus, which might be transferred by way of this email. This email has been sent using DEMS, if you would like to start using DEMS, please email Doc2disk Ltd for prices (sa...@doc2disk.com). _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net 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