I am using ClamAV antivirus on Fedora 32. If I will run scan of whole system for malicious file, clamd is runned as user clamscan. Problem is, that user clamscan has not permission for reading any files (ClamAV is finishing with errors). I am not very familiar with user permissions and things about this.
I tried to add clamscan to
/etc/sudoers as root by adding this line
clamscan ALL=(ALL) ALL
However this user still doesn't have permission. I am also not sure if this solution was a good idea (make clamscan as root user).
Could someone help me, how could I add permission for reading to this user? Thank you in advance.