[clamav-users] Yum Updater Breaks My Set Up
Alan Stern
stern at rowland.harvard.edu
Fri Jun 26 19:24:31 UTC 2015
On Fri, 26 Jun 2015, Bob Cohen wrote:
> > On Jun 26, 2015, at 2:19 PM, Alan Stern <stern at rowland.harvard.edu> wrote:
> >
> > So what are the permissions for /var/run/clamav? (Does that directory
> > even exist?) And what user/group IDs does your clamd daemon run under?
>
> Thanks for responding:
>
> Yes the directory exists
>
> Permissions:
> [root etc]# ls -la /var/run/clamav
> total 16
> drwxr-xr-x 2 clam clam 4096 Apr 29 14:39 .
> drwxr-xr-x 31 root root 4096 Jun 26 14:40 ..
>
> Okay. Now I see what happened. The owner and group should be set to clamav. And now it works. Thank you. I knew it was something simple.
>
> This makes sense. After a yum update clam sets the log file owner to clam:clam instead of clamav:clamav and it must also change the user name which causes the permissions error. How can I get amavisd, spamassassin, and clam to play nicely with Yum Update?
That's a question for the CentOS-5 maintainers. I suppose you could
run clamd under the clam userid instead of under clamav. But there
might be good reasons not to do that, or it might cause other problems.
Alan Stern
More information about the clamav-users
mailing list