[Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-24 Thread dev . admin
Hi as well Lima, I'm not an expert either ;-) clamdscan sends the object to be scanned to the daemon (clamd) that is usually running at all times. I've decided to call this 'server side'. clamscan is more of a 'client side' application that should ideally be used for one-off scans due to the ov

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-23 Thread Jim Preston
On Dec 23, 2009, at 10:38 AM, Lima Union wrote: Ok, thanks. From the man page: (4) To scan from standard input: clamdscan - Hi! just for the record, I think that this problem is related to SELinux, I'm running RH 5.4 and have disabled it and now clamdscan works without requiri

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-23 Thread Lima Union
On Tue, Dec 22, 2009 at 9:06 AM, Lima Union wrote: > On Mon, Dec 21, 2009 at 5:51 PM, Robert Wyatt wrote: >> Lima Union wrote: >> Hi Lima, >> >> I should let the experts answer, but I'll take a stab at it just to find out >> for myself. One of the differences between clamscan and clamdscan is tha

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-22 Thread Lima Union
On Mon, Dec 21, 2009 at 5:51 PM, Robert Wyatt wrote: > Lima Union wrote: > Hi Lima, > > I should let the experts answer, but I'll take a stab at it just to find out > for myself. One of the differences between clamscan and clamdscan is that > clamscan runs as the user requesting it whereas clamdsc

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Robert Wyatt
: [Clamav-users] lstat() failed: Permission denied. ERROR You mean substituting clamdscan for clamscan ? This is the result: clamscan eicar.txt eicar.txt: Eicar-Test-Signature FOUND --- SCAN SUMMARY --- Known viruses: 678203 Engine version: 0.95.3 Scanned directories: 0

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Lima Union
ers ML >> Subject: Re: [Clamav-users] lstat() failed: Permission denied. ERROR >> >> >>  You mean substituting clamdscan for clamscan ? >> >>  This is the result: >> >>  clamscan eicar.txt >>  eicar.txt: Eicar-Test-Signature FOUND >> >

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Jason Bertoch
> -Original Message- > From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users- > boun...@lists.clamav.net] On Behalf Of Lima Union > Sent: Monday, December 21, 2009 12:41 PM > To: ClamAV users ML > Subject: Re: [Clamav-users] lstat() failed: Permission denied.

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Lima Union
> On Mon, Dec 21, 2009 at 2:23 PM, Robert Wyatt wrote: >> Lima Union wrote: >>> > > Any ideas what's going on here ? > Thanks! Perhaps Daniel's information is correct, I would offer that you should be running: sudo clamscan eicar.txt. Hope this is helpful,

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Robert Wyatt
Lima Union wrote: Hi all! I'm getting the following error message while try to run clamdscan: $ clamdscan eicar.txt eicar.txt: lstat() failed: Permission denied. ERROR I've enable debug mode and got: $fds_poll_recv: timeout after 600 seconds $Received POLLIN|POLLHUP on fd 5 $Got new connection

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Lima Union
On Mon, Dec 21, 2009 at 1:12 PM, Daniel J McDonald wrote: > On Mon, 2009-12-21 at 13:02 -0300, Lima Union wrote: >> Hi all! I'm getting the following error message while try to run clamdscan: >> >> $ clamdscan eicar.txt >> eicar.txt: lstat() failed: Permission denied. ERROR > > > clamdscan runs wi

Re: [Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Daniel J McDonald
On Mon, 2009-12-21 at 13:02 -0300, Lima Union wrote: > Hi all! I'm getting the following error message while try to run clamdscan: > > $ clamdscan eicar.txt > eicar.txt: lstat() failed: Permission denied. ERROR clamdscan runs with the permissions of the daemon user. You probably want to do some

[Clamav-users] lstat() failed: Permission denied. ERROR

2009-12-21 Thread Lima Union
Hi all! I'm getting the following error message while try to run clamdscan: $ clamdscan eicar.txt eicar.txt: lstat() failed: Permission denied. ERROR I've enable debug mode and got: $fds_poll_recv: timeout after 600 seconds $Received POLLIN|POLLHUP on fd 5 $Got new connection, FD 10 $Received PO