Avast WEBforum

Business Products => Archive (Legacy) => Avast Business => Avast Server Protection => Topic started by: darkfader on March 24, 2006, 01:05:16 AM

Title: automatic repair fails for network paths
Post by: darkfader on March 24, 2006, 01:05:16 AM
I wonder why the automatic repair function fails on network paths? I do have write permissions.
Mapping to a driveletter does not help as it automatically detects the real source.
Title: Re: [bug] repair fails for network paths
Post by: Lisandro on March 24, 2006, 01:10:41 AM
In fact, repair function could fail just because the infection is not repairable at all.
For instance, trojans aren't repairable: all the file/registry key IS the infection. It's not a healthy file (like an executable) that is corrupted (infected). So, better will be know the name of the virus and the file name/path  8)
Title: Re: [bug] repair fails for network paths
Post by: darkfader on March 24, 2006, 02:21:30 AM
Well... after some more testing I saw some files are cleaned indeed but not all of them. It's weird because when I move the files it skipped to my local drive it does clean the files it failed on.
I don't know how to get detailed error information. Please investigate.
Btw... the remote machine I'm trying to clean runs linux+samba.
Title: Re: [bug] repair fails for network paths
Post by: igor on March 24, 2006, 09:51:09 AM
Can you post (some of) the full paths of the files that were not repaired? What virus was detected?
Title: Re: [bug] repair fails for network paths
Post by: darkfader on March 25, 2006, 01:59:04 AM
27-3-2006 3:50:31   SYSTEM   1504   Sign of "Win32:Parite" has been found in "\\akusho\hosts\84.81.183.26\temp\fl.exe" file. 

\\akusho\darkfader\hosts\84.81.183.26\temp\fl.exe [L] Win32:Parite (0)
During the file repair, error occurred: The file was not repaired.
File was successfully renamed/moved...

The automatic scanner doesn't clean it automatically as I wanted. I even had it set up so it showed a dialog if the clean would fail but apparently it thinks somehow it was successful since it does not show up.

Manual scan+clean does work for network folders.
Title: Re: repair fails for network paths
Post by: darkfader on April 04, 2006, 04:42:11 AM
*bump* (I rewrote the previous post and should be read again)
Title: Re: automatic repair fails for network paths
Post by: igor on April 05, 2006, 01:13:35 AM
Well, I have an idea why it might happen; it's probably connected with the embedded Virus Cleaner which doesn't handle network paths (so it only affects files infected with the viruses that avast! Virus Cleaner is capable to repair, i.e. about 5 families - Parite being one of them).
I'll see what I can do about it, but I'm really not sure if I'll make it into the upcoming update.
Title: Re: automatic repair fails for network paths
Post by: Lisandro on April 05, 2006, 03:04:52 AM
So it only affects files infected with the viruses that avast! Virus Cleaner is capable to repair, i.e. about 5 families - Parite being one of them.
Can you post the whole family names and types? I'm curious to know... Thanks Igor.
Title: Re: automatic repair fails for network paths
Post by: igor on April 05, 2006, 02:06:18 PM
darkfader, what exactly do you mean by "automatic scanner"?
You mean a scheduled scan, or a manually started scan which has an automated action set for infected files (what action exactly is that?), or something else maybe?

Additionally, can you somehow distinguish the files that were not repaired? (you said only some of them weren't repaired... is there anything special about them? filename, size, ...?)
I cannot reproduce the problem, i.e. it probably isn't what I thought originally...
Title: Re: automatic repair fails for network paths
Post by: darkfader on April 05, 2006, 03:03:55 PM
darkfader, what exactly do you mean by "automatic scanner"?
The on-access scanner with clean as automatic action when it encounters a virus.

When it doesn't repair, the filesize stays bigger than it should be. And it shows that yellow alert line each time I enter the folder.

When such infected file is on my local disk, it shows that alert line only once and the file does get repaired and filesize decreased.
Title: Re: automatic repair fails for network paths
Post by: igor on April 05, 2006, 03:26:04 PM
So, you modified the resident protection task and set its virus action to "Repair"?
Title: Re: automatic repair fails for network paths
Post by: darkfader on April 05, 2006, 04:16:39 PM
yes
Title: Re: automatic repair fails for network paths
Post by: igor on April 14, 2006, 09:55:00 AM
I'm afraid I'm unable to reproduce thisĀ  :-\