[ZendTo] Re: Upgrading ZendTo (Ubuntu 64-bit, apt-get)
Jules
Jules at Zend.To
Wed Feb 8 13:03:28 GMT 2012
The file /etc/apparmor.d/local/usr.sbin.clamd should contain the line
/var/zendto/** r,
which should be all you need, unless you've moved the library or
anything from their default locations under /var/zendto.
Something must be wrong in your settings for clamd to be trying to
virus-scan /opt/zendto/www, it only ever scans files under /var/zendto.
If you have put your library under /opt/zendto/www then you need to add
/opt/zendto/www/** r,
to the end of the file and restart apparmor with
/etc/init.d/apparmor restart
and then it should work.
Jules.
On 08/02/2012 09:54, Nigel Kendrick wrote:
> Post update I now have the library feature, but if I choose a file
> from it I get an error:
>
> Upload Error The attempt to virus-scan your drop-off failed. Please
> contact your administrator for assistance.
>
> Uploading files as before still works fine though.
>
> System log includes:
>
> Feb 7 17:29:25 asltux13 kernel: [7100015.431439] type=1400
> audit(1328635765.243:25): apparmor="DENIED" operation="open" parent=1
> profile="/usr/sbin/clamd" name="/opt/zendto/www/" pid=29769
> comm="clamd" requested_mask="r" denied_mask="r" fsuid=109 ouid=0
> Feb 7 17:33:50 asltux13 kernel: [7100280.365885] type=1400
> audit(1328636030.179:26): apparmor="DENIED" operation="open" parent=1
> profile="/usr/sbin/clamd" name="/opt/zendto/www/" pid=29791
> comm="clamd" requested_mask="r" denied_mask="r" fsuid=109 ouid=0
>
> I tried adding the following to /etc/apparmor.d/usr.sbin.clamd:
>
> /opt/zendto/www/** kr,
> /var/zendto/library/** kr,
>
> and restarted apparmor (and tried a reboot) but no joy.
>
> Any ideas?
>
> Ta
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
Jules
--
Julian Field MEng CITP CEng
www.Zend.To
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'Teach a man to reason, and he will think for a lifetime.' - Phil Plait
'All programs have a desire to be useful' - Tron, 1982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20120208/494030da/attachment-0001.html
More information about the ZendTo
mailing list