You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by mattdoran <ma...@bigpond.com> on 2004/07/21 01:48:30 UTC

'Access Denied' caused when running 'blame' using 1.1RC1 on win2000

Hi,

I've encountered an issue with the new blame implementation in 1.1 RC1.

System:  Win2k SP4
SVN Ver: svn, version 1.1.0 (Release Candidate 1)  compiled Jul 19 2004,
09:03:26

If I perform a 'svn blame' on either a BDB or a FSFS repository using a
local (file://) repository I get the following error:

svn: Can't open 'C:\DOCUME~1\doranma.000\LOCALS~1\Temp/tmp.tmp': Access is
denied.

I am a local administrator on the machine, so file permissions are not the
problem.

This issue doesn't occur when 2 revisions of the same file exist, but it
occurs with 3 revisions.

Attached is a batch file that reproduces the issue, and the output of the
script with an FSFS and BDB repo.

Also attached is a Sysinternals Filemon log of the activity in the TEMP
directory while the 'blame' is running.   It appears that a file 'tmp.tmp'
is trying to be created, but the file is 'PENDING DELETION' from an earlier
delete.

Let me know if you need more info to help resolve the issue.

Regards,
Matt

Re: {Filename?} 'Access Denied' caused when running 'blame' using 1.1RC1 on win2000

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 20 Jul 2004, mattdoran wrote:

> Warning: This message has had one or more attachments removed
> Warning: (issue.bat).
> Warning: Please read the "VirusWarning.txt" attachment(s) for more information.
>
OK. May want to rename it next time:-) I am not on win32, so I can
reproduce anyway...
> I've encountered an issue with the new blame implementation in 1.1 RC1.
>
> System:  Win2k SP4
> SVN Ver: svn, version 1.1.0 (Release Candidate 1)  compiled Jul 19 2004,
> 09:03:26
>
> If I perform a 'svn blame' on either a BDB or a FSFS repository using a
> local (file://) repository I get the following error:
>
> svn: Can't open 'C:\DOCUME~1\doranma.000\LOCALS~1\Temp/tmp.tmp': Access is
> denied.
>
Thanks. I am looking into this. MIght be that the temp file needs to be
closed eariler somewhere. But I am not sure yet.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: {Filename?} 'Access Denied' caused when running 'blame' using 1.1RC1 on win2000

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 20 Jul 2004, mattdoran wrote:

> I've encountered an issue with the new blame implementation in 1.1 RC1.
>
> System:  Win2k SP4
> SVN Ver: svn, version 1.1.0 (Release Candidate 1)  compiled Jul 19 2004,
> 09:03:26
>
> If I perform a 'svn blame' on either a BDB or a FSFS repository using a
> local (file://) repository I get the following error:
>
> svn: Can't open 'C:\DOCUME~1\doranma.000\LOCALS~1\Temp/tmp.tmp': Access is
> denied.
>
Could you try this patch, which should fix it. It closes a file earlier.

Thanks//Peter