Ignore a folder in maldet
maldet is malware scanner for linux. On a shared hosting server, maldet detected one cusomer files as malware, on checking i found it is false positive. It is just a log file written by the application. To avoid getting further email from this application, i added this folder to maldet ignore_paths.
To add a folder to ignore list, edit file
1 |
vi /usr/local/maldetect/ignore_paths |
Add the folder you need to ignore to end of this file as a new line.
Example
1 2 3 4 5 6 |
root@server74 [~]# cat /usr/local/maldetect/ignore_paths /home/welgreenkerala/public_html/login/ /usr/local/maldetect /usr/local/sbin/maldet /home/shopatke/public_html/application/logs/ root@server74 [~]# |
See maldet