Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-05 Thread mcmurchy1917-clamav
Henri You have helped in some way, the fdpass option did make a difference in that it allowed clamdscan to return the full filename. Before I was just getting a file descriptor. I can not run clamdscan successfully if I * have the standard user, i.e. not root, as a member of the clamav g

Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-03 Thread mcmurchy1917-clamav
Hello Maarten ls -lrt /var/run/clamav/clamd.socket srw-rw 1 clamav clamav 0 Dec 3 15:32 /var/run/clamav/clamd.socket= ls -lrt /tmp/clamav-milter.socket srw-r--r-- 1 clamav root 0 Dec 3 15:32 /tmp/clamav-milter.socket= Just wondering should a standard user belong to the clamav group. Is th

Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-03 Thread Maarten Broekman
What are the permissions on the clamd socket file? You might also try setting up clamd to listen on an IP/port and connect to it that way if the unix socket doesn't work. --Maarten On 12/3/13, 10:23 AM, "mcmurchy1917-cla...@yahoo.co.uk" wrote: >Hello Henri > >Results below - > >ls -la nw1700.

Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-03 Thread mcmurchy1917-clamav
Hello Henri Results below - ls -la nw1700.p65 -rwxr--r-- 1 alex users 6825472 Oct 24 2012 nw1700.p65* id uid=1001(alex) gid=100(users) groups=100(users),7(lp),12(mail),15(man),17(audio),19(cdrom),20(games),21(slocate),27(mysql),33(sshd),50(ftp),83(plugdev),86(netdev),93(scanner) Thanks Ale

Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-03 Thread mcmurchy1917-clamav
Hello Henri Thanks for the quick response. I tried that and this is what I get if running from a standard user - $ clamdscan --fdpass nw1700.p65 ERROR: Can't connect to clamd: Permission denied --- SCAN SUMMARY --- Infected files: 0 Total errors: 1 Time: 0.000 sec (0 m 0 s)

Re: [clamav-users] How can I run clamdscan as a standard user?

2013-12-02 Thread Henri Salo
On Mon, Dec 02, 2013 at 04:45:20PM +, mcmurchy1917-cla...@yahoo.co.uk wrote: > What I would like to do is to be able to use clamdscan as a statndard user. Please try: --fdpass You might also like -m feature, which uses all available processors. --- Henri Salo signature.asc Description: Di

[clamav-users] How can I run clamdscan as a standard user?

2013-12-02 Thread mcmurchy1917-clamav
I regularly use clamscan to scan my filesystem using cron. I'm now also looking to scan individual files from either the command line or from a file manager like dolphin. I've tried both clamscan and clamdscan. clamscan works as from a standard user but takes 21 seconds as it has to load the d