Bug#294402: clamav-base: Permissions on /var/run/clamav/ not correct?

2005-02-09 Thread Marcus C. Gottwald
Package: clamav-base Version: 0.82-1 Severity: normal clamd won't start because it can't open its communication socket because permission to access/create it is denied. /var/run/clamav was created by clamav-base and is owned by root. Changing its user/group to "clamav" fixes the problem but might

Bug#294402: clamav-base: Permissions on /var/run/clamav/ not correct?

2005-02-11 Thread Stephen Gran
This one time, at band camp, Marcus C. Gottwald said: > clamd won't start because it can't open its communication > socket because permission to access/create it is denied. > /var/run/clamav was created by clamav-base and is owned by > root. Changing its user/group to "clamav" fixes the problem > b

Bug#294402: clamav-base: Permissions on /var/run/clamav/ not correct?

2005-02-11 Thread Marcus C. Gottwald
Hello Stephen, [You might want to quickly read to the end of this mail first. :-)] Stephen Gran wrote: > # ls -la /var/run/clamav/ > total 8 > drwxr-xr-x 2 root root 4096 Feb 8 02:24 . > drwxr-xr-x 13 root root 4096 Feb 9 16:26 .. Edit /var/lib/dpkg/info/clamav-base.postinst, and change #!/bin

Bug#294402: clamav-base: Permissions on /var/run/clamav/ not correct?

2005-02-11 Thread Stephen Gran
This one time, at band camp, Marcus C. Gottwald said: > No mention of a "chown" in there. Looks like the test > in line 85 failed because DatabaseDirectory in > "/etc/clamav/clamd.conf" is set to "/var/lib/clamav/" > -- which is not equal to "/var/lib/clamav". Very good - I didn't think of the pos

Bug#294402: clamav-base: Permissions on /var/run/clamav/ not correct?

2005-02-11 Thread Stephen Gran
On Fri, Feb 11, 2005 at 07:28:18PM +0100, Marcus C. Gottwald said: > > Hi Stephen! Hi! > Stephen Gran wrote: > > >Very good - I didn't think of the possibility of that, so I have now > >patched it to do (I think) the right thing. Try the following: > > > > if [ -n "$data" ]; then > >+