On Sep 29, 2016, at 5:56 PM, Gregory P. Ennis <po...@pomec.net> wrote:
> 
> 
> I had set the log file in scan.conf to be /var/log/clamd.scan having
> the user and group name of clamscan and protections of -rw-rw-rw-

I don’t use ClamAV, but I’ll bet it runs as a non-root user.  In CentOS
7, only root can write to /var/log.

You should create a clamav directory under /var/log and give the ClamAV
user write access to it, then configure ClamAV to write its logs there.

That, or switch to syslog or similar, if ClamAV allows it.

----------------------------------------------------


Waren,

That solved the problem, I created a subdirectory in /var/log as clamd
and changed /etc/clamd.d/scan.conf.

I was not aware that only root can write to /var/log

Thanks again!!!

Greg

_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to