Re: ClamAV installation required?

Matus UHLAR - fantomas via clamav-users <[email protected]> Thu, 17 Jul 2025 11:24:14 +0200
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <[email protected]>
>On Wed, 16 Jul 2025, Newcomer01 via clamav-users wrote:
>>inner my cronjob with 'freshclam start' on end 'freshclam stop' - not as
>>daemon

On 16.07.25 21:57, Andrew C Aitchison via clamav-users wrote:
>Do you have a good reason *not* to use the daemon ?

This might be your problem.

>On Wed, 16 Jul 2025, Newcomer01 via clamav-users wrote:
>>Then on each Upgrade Ubuntu replaces my whole permissions for ClamAV and
>>with this, ClamAV didn't work anymore, so I always need to restore my own
>>Permissions to get ClamAV working again.

>On my machine the files in /var/lib/clamav are all owned by
>    clamav:clamav

This also indicates Newcomer01 set permissions in a way incompatible with ubuntu.

Newcomer01 - set permissions to clamav:clamav and start clamd and freshclam
under clamav user as Ubuntu designed it.

After that, freshclam should be able to update databases periodically and 
notify clamd as well.


-- 
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.
Enter any 12-digit prime number to continue.
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat