Good afternoon,

I have installed current version of ClamAV from repos to Fedora 32. I have
a problem with permission while using clamdscan/clamscan. For example, in
Documents I have eicar test file.



If I run clamscan, it has a problem with open file.

WARNING: Can't open file /home/asus/Documents/eicar3.txt: Operation not
permitted

I think it is because I also use on acess scanning. In config file I have
this line:

OnAccessExcludeUname clamscan

However it doesn’t work. But if I replace clamscan by root, clamscan works
but I can also open malicious files as root, which I would like to have
blocked.



If I run clamdscan I get this error

/home/asus/Documents: lstat() failed: Permission denied. ERROR

I have found several articles or topics in forums, but all of this are very
old, and there are settings, which doesn’t exist in current version.



I have also tried this commands, without any results L

setsebool -P antivirus_can_scan_system 1

setsebool -P clamd_use_jit 1





I don’t know why it doesn’t work. I have same settings in Ubuntu, and there
is everything works without problem.

Is there any way how to fix this problem?
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to