use of FILDES?

Create issue
Issue #2 new
Brandon Murphy created an issue

I'm having some issues with permissions when having clamd run as a dedicated user different than the user running python.

>>> cd = pyclamd.ClamdAgnostic() 
>>> cd.scan_file('/tmp/') 
{'/tmp/': ('ERROR', 'lstat() failed: No such file or directory.')}

In order to get clamdscan to work I have to pass the --fdpass command to it, which I believe causes the client to use FILDES instead of SCAN.

Is there any chance to implement the FILDES scan method using file descriptors? I'm guessing this shouldn't be too bad to implement, but I don't know much about python.

Comments (0)

  1. Log in to comment