Re: Centos 7.2.1511 with sendmail and a problem with clamav

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sep 29, 2016, at 5:56 PM, Gregory P. Ennis <PoMec@xxxxxxxxx> 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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux