Re: Corrupted files when run as daemon

"Kenneth S." <[email protected]> Fri, 6 May 2005 17:00:38 -0500 (CDT)
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
On Fri, 6 May 2005, Martin Zuziak wrote:
>
> It really sounds like a permissions problem if it works when sophie runs
> as root.

That is what I was thinking but sophie will not scan any file anywhere on 
the system no matter what the
permissions are on the file (v3.93).  Now this problem goes away when I 
install sophos v3.92.  So I was
thinking maybe there are some permissions differences between the 2 
versions of sophos.  I checked
/usr/local/sav and /usr/local/lib for both versions and there are no 
differences.

Also the sophie error message is a little misleading:
WARNING          : Error: File corrupted, Sophie could not proceed.
NOTICE : Response is '-1:Error: File corrupted, Sophie could not proceed.'

When I do a strace to see what is going on at that point I see this:
open("/exim/virii/W32_Netsky-D", O_RDONLY|O_LARGEFILE) = -1 EACCES 
(Permission denied)

Again I get this no matter what the owner/group and permissions are on the 
file.  I am at a loss as to
what is going on but it all points to something changing the new sophos 
librairies that is giving some of
us problems.

Kenneth