On Wed, 23 Oct 2024 17:18:52 +0900 Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed, Clamd is spamming my journal with thousand of line of "path check failures" making it de facto unreadable Message-ID : <14302921.qpTkGadCdI@silversurfer> Date & Time: Wed, 23 Oct 2024 09:46:23 +0200
Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
Hello and thank you for your reply, much appreciated.
In data mercoledì 23 ottobre 2024 06:33:45 Ora legale dell’Europa centrale, Masaru Nomiya ha scritto: MN> > Please show the results of; MN> > MN> > 1, $ cat /etc/clamd.conf | grep -B 3 /home
silversurfer:~ # cat /etc/clamd.conf | grep -B 3 /home # multiple OnAccessIncludePath directives but each directory must be added # in a separate line. # Default: disabled OnAccessIncludePath /home --
# Set the exclude paths. All subdirectories are also excluded. # Default: disabled #OnAccessExcludePath /home/user -- # It can be used multiple times. # Default: disabled #OnAccessMountPath / #OnAccessMountPath /home/user
As you can see, clamd is set by default so that it does not access anything under /home.
MN> > 2. $ ls -al ~/ | grep .cache
silversurfer:~ # ls -al ~/ | grep .cache drwx------ 1 root root 316 Sep 14 12:45 .cache
The permission is wrong. This means that no program can write to .cache.
Please set it like this;
$ chmod 755 ~/.cache
On my system the .cache directory is owned by *ME* not by root. So I don't think the permissions are necessarily wrong (mine are drwxr-xr-x) but rather the ownership?
[...] MN> > You're using clamav 1.3.1, right?
silversurfer:~ # rpm clamav --version RPM version 4.19.1.1
from "security repo" 1.4.1 as version of ClavAV
Ah, I see.
Same as mine.