Stephen Gran said:
> On Tue, May 17, 2005 at 01:17:34PM +0200, Tomasz Kojm said:
>> The only 'essential' information you have provided is that
>> clamav-milter prints "Permission denied" on startup so don't expect
>> constructive help from me.
>
> The problem here is that clamav opens/creates the log at
> clamd/clamd.c:144, but only drops priviledges to the user specified by
> the User directive at clamd/clamd.c:235
>
> It would perhaps be better if this priviledge drop happened earlier,
> before opening the logfile.  I have never noticed this behavior, as the
> set up scripts and log rotate scripts I use always touch the logfile and
> give it appropriate permissions.
>
> Since the milter never complained about log file permissions until
> recently, I guess no one else noticed it either.

I think it would be better if clamd, like syslogd, didn't create the file
at all. End of problem.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to