ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
c:\tmp directory and deletion of files/directories
amirsachs


Joined: 08 Feb 2006
Posts: 0
Reply with quote
Hi,
I am running Clamwin on a windows 2000 server, and calling it from merak mail server in order to scan incoming mail.
It works great!
I have only one problem.
initially when i installed clamwin, i had to create a c:\tmp directory, where clamwin was writing files and directories to.
I have since changed the registry key ....software\cygnus solutions\cygwin\mounts v2\/tmp to another directory

the problem is that there are locked directories in c:\tmp which i can't delete at all. i can't even take ownership of them.
Clamwin still makes use of c:\tmp in order to write temporary content.
the c:\tmp isn't specified in the Temp or Tmp system variables.

the folders are called clamav-27f7a344f2a43af5 (the part after the clamav- is always 16 characters hex code?)

I also have a file in program files\clamwin called err12.log which shows the same symptoms. in other words can't be accessed or deleted. though it grows daily.

clamwin is installed in e:\ not c:
the /tmp in the registry points to d:/tempvar, which is also the location of the temp and tmp system variables

has anyone experienced something similar? can someone look into this?

Thanks
Amir
View user's profileSend private message
Re: c:\tmp directory and deletion of files/directories
dbradford


Joined: 20 Mar 2006
Posts: 0
Reply with quote
amirsachs wrote:
Hi,
I am running Clamwin on a windows 2000 server, and calling it from merak mail server in order to scan incoming mail.
It works great!
I have only one problem.
initially when i installed clamwin, i had to create a c:\tmp directory, where clamwin was writing files and directories to.
I have since changed the registry key ....software\cygnus solutions\cygwin\mounts v2\/tmp to another directory

the problem is that there are locked directories in c:\tmp which i can't delete at all. i can't even take ownership of them.
Clamwin still makes use of c:\tmp in order to write temporary content.
the c:\tmp isn't specified in the Temp or Tmp system variables.

the folders are called clamav-27f7a344f2a43af5 (the part after the clamav- is always 16 characters hex code?)

I also have a file in program files\clamwin called err12.log which shows the same symptoms. in other words can't be accessed or deleted. though it grows daily.

clamwin is installed in e:\ not c:
the /tmp in the registry points to d:/tempvar, which is also the location of the temp and tmp system variables

has anyone experienced something similar? can someone look into this?

Thanks
Amir


Hi Amir,

if you wouldnt mind, would you be willing to share your command line ClamWin AV setup for Merak, I have just atarted using it and would like to use Clamwin with it.

Thnx

Dickie
View user's profileSend private message
amirsachs


Joined: 08 Feb 2006
Posts: 0
Reply with quote
Hi,

This issue has been resolved now.
I was eventually able to right click on the directory containing the files, take ownership of it, and then reset the permissions.
i was then able to delete the files.

This is how i setup clamwin in Merak
Under the application:
c:\program files\clamwin\bin\clamscan.exe

under the parameters i use:
--database="c:\Program Files\ClamWin\db" --no-summary --block-encrypted --log="c:\program files\clamwin\err13.log" --infected %s
you don't need the log part if you aren't going to look at it.

Also : under return values the radio button should be selected and you must have the value "1" there (omit the "")

I hope this help everyone.

best
Amir
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 0
Location: Italy
Reply with quote
cygwin sometime adds strange owners to files if the user has permissions to do it, just look at permission tab
View user's profileSend private message
cobbjbc


Joined: 23 Apr 2006
Posts: 0
Reply with quote
I have this same problem on my XP machine, and I don't even have a security tab on the files when I check their properties.
View user's profileSend private message
c:\tmp directory and deletion of files/directories
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic