I have a problem for about a month. Before everything was running ok but for about a month cxs daily and weekly scans didn't ignore the directories that are written in the cxs.ignore file.
The directories i am having trouble are directadmins user logs directories that are found at /home/<user_name>/domains/<domain_name>/logs
I have 2 line related for this in the cxs.ignore file:
Code: Select all
hdir:/domains/*/logs
hdir:/domains/*/logs/*
Code: Select all
TimeStamp: Mon, 9 Sep 2024 00:12:37 +0300
(/usr/sbin/cxs --allusers --clamdsock /var/run/clamav/clamd.ctl --nodbreport --defapache webapps --doptions Mv --exploitscan --nofallback --filemax 0 --noforce --html --ignore /etc/cxs/cxs.ignore --mail aaa@bbb.net --options mMOLuSGchexdnZRD --noprobability --qoptions Mv --quarantine /home/_quarantine --quiet --sizemax 1000000 --smtp --ssl --nosummary --nosversionscan --timemax 30 --nounofficial --virusscan --vmrssmax 2000000 --waitscan 0 --Wmaxchild 3 --Wnotify inotify --Wrateignore 300 --Wrefresh 7 --Wsleep 3 --Wstart --www --xtra /etc/cxs/cxs.xtra)
cxswatch Scanning /home/<user_name>/domains/<user_name>.com/logs/Sep-2024.tar.gz.1:
# Clamd Error for [SCAN /home/<user_name>/domains/<user_name>.com/logs/Sep-2024.tar.gz.1]: /home/<user_name>/domains/<user_name>.com/logs/Sep-2024.tar.gz.1: File path check failure: Permission denied. ERROR
'/home/<user_name>/domains/<user_name>.com/logs/Sep-2024.tar.gz.1'
(compressed file: <user_name>.com.error.log.1 [depth: 1]) Decode regex match = [decode regex: 1]
What can i do for cxs to ignore these directories?
Any idea?