On Tue, Mar 9, 2010 at 7:12 PM, Tom Shaw <ts...@oitc.com> wrote:
> At 6:50 PM -0400 3/9/10, Timothy Legge wrote:
>> I would prefer to get the file name in the logs but I had to pass
>> --fdpass as the option so clamd would scan files that it did not have
>> permission to scan.
>>
>> Should I approach this in a different way like using clamscan instead?
>>  It does not look like clamscan can write to syslog but I could be
>> wrong.
>>
>
> Tim
>
> Why don't you just get rid of --fdpass and run the cron job as root?

I was running as root.  I suspect that apparmor may have been causing
the issue but since I have figured out a way to do it via clamscan and
logger I don't need to look at that part further.

Tim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to