Sergey wrote:
Hello Dennis,

Tuesday, May 17, 2005, 5:11:43 PM, you wrote:

DP> Sergey said:

Hello Andrzej,

Tuesday, May 17, 2005, 3:52:31 PM, you wrote:

AZ> Sergey wrote:
AZ> [...]

-rw-r----- 1 root clamav 1265 May 17 15:40 clamd.log

AZ> ^^^^^^^^^^^^^^^^^^^^^^^^^^ AZ> How clamd (in realy user clamav.clamav) can write to this file??

AZ> [...]


i've no idea, but 0.84 does.

i've just found a solution. if clamd makes clamd.log it's useless to
change the permissions. so before running clamd and so on i made
touch clamd.log and than set all the permissions that is needed.
now it works.



DP> We have a winner! Now if you put that in your startup script and log DP> rotation tool you'll have the job finished.

why is that? if i'll restart clamd it won't going to change the
permissions of clamd.log. and by the way i don't need any log rotation
because my clamd.log doesn't eveê become big or something like that.


Maybe thats because clamav couldnt write to it ;) Regardless, this is a workaround not a solution. The logfile should not be created with root owner to begin with.


-Jim

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

Reply via email to