Even though you are running as root, freshclam drops privileges to user 
"clamav". Therefore, user "clamav" must be able able to write to Clam's data 
directory, which is at $PREFIX/share/clamav. It should look something like 
this:

# ls -l /opt/clamav/share/clamav
-rw-r--r--   1 clamav   clamav      32727 Mar  4 09:19 daily.cvd
-rw-r--r--   1 clamav   clamav     944351 Feb 29 12:38 main.cvd

See also the --datadir and --user options in freshclam.conf.

The Security warning means you didn't have the Gnu MP library when you 
compiled freshclam; it's optional but highly recommended. Get it from 
http://www.gnu.org/software/gmp/.

JohnV


On Thursday 04 March 2004 09:56 am, you wrote:
> When I try to run freshclam on a Solaris 8 SPARC I get the following
> errors.
>
> nemo# freshclam
> ClamAV update process started at Thu Mar  4 10:37:56 2004
> SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
> Reading CVD header (main.cvd): OK
> ERROR: Can't open new file ./fe2c2591272a5315 to write
> open: Permission denied
> ERROR: Can't download main.cvd from 210.22.201.152
> Waiting 10 seconds...
> ClamAV update process started at Thu Mar  4 10:38:07 2004
> SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
> Reading CVD header (main.cvd): OK
> ERROR: Can't open new file ./d83a9adaea65e446 to write
> open: Permission denied
> ERROR: Can't download main.cvd from 210.22.201.152
> Waiting 10 seconds...
> ClamAV update process started at Thu Mar  4 10:38:18 2004
> SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
> Reading CVD header (main.cvd): OK
> ERROR: Can't open new file ./068506789e044f1f to write
> open: Permission denied
> ERROR: Can't download main.cvd from 210.22.201.152
> Waiting 10 seconds...
>
> What did I miss?
>
> Thanks,
>
> Steve Plemmons
> [EMAIL PROTECTED]
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to