CXS not ignoring directory that is on cxs.ignore file
Posted: 09 Sep 2024, 10:12
Hello,
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:
But for about a month i am getting emails from cxs daily and weekly scans like below:
I've censored the username and email addresses.
What can i do for cxs to ignore these directories?
Any idea?
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?