[prev in list] [next in list] [prev in thread] [next in thread]
List: centos
Subject: Re: [CentOS] Centos 7.2.1511 with sendmail and a problem with clamav
From: "Gregory P. Ennis" <PoMec () PoMec ! Net>
Date: 2016-09-30 1:48:28
Message-ID: 1475200108.2530.46.camel () PoMec ! Net
[Download RAW message or body]
On Sep 29, 2016, at 5:56 PM, Gregory P. Ennis <PoMec@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic