Re: Problem with file Access Errors....
Darrick Hartman <[email protected]> Tue, 05 Apr 2005 11:28:40 -0500
| Newsgroups | gmane.comp.security.virus.openantivirus.general |
|---|---|
| Message-ID | <[email protected]> |
James Kosin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Anyone / Everyone, > > I have a small problem setting up samba-vscan for clamav. > > (1) ClamAV is setup to run as its own user clamav. This is usually > no problem; but, this messes with samba when I try to use samba-vscan. > (2) The problem is, I get errors that the file access is denied. > > | Apr 5 09:25:18 beta smbd_vscan-clamav[23076]: ERROR: file > | /home/jkosin/rpm/patch/clitar.patch.txt not found, not readable or > | an error occured > | Apr 5 09:25:18 beta smbd_vscan-clamav[23076]: ERROR: daemon failed > | with a minor error - access to file rpm/patch/clitar.patch.txt denied > | Apr 5 09:32:23 beta smbd_vscan-clamav[23076]: INFO: disconnected > > > Any idea what I can try? You must run clamav as root. If you read the documentation, it will tell you why it's not possible to run it as another user. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click