Greg Stein wrote:
> On Sat, Mar 01, 2003 at 10:36:56PM +0100, Arild Fines wrote:
>> Scott Lamb wrote:
>>> Arild Fines wrote:
>>>> E:\svn\repos>db_recover -ve -h finalproject\db
>>>> db_recover: unlink: finalproject\db\__db.001: Permission denied
>>>> db_recover: fatal region error detected; run recovery
>>>> db_recover: unlink: finalproject\db\__db.001: Permission denied
>>>> db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
>>>> recovery It's not a filesystem permissions problem- the file in
>>>> question has Everyone-Full Control permissions set on it.
>>>> That last line is a bit ironic...
>>>
>>> unlink needs permissions on the directory, not the file. At least
>>> on a Unix system; I believe Windows functions the same.
>>
>> The directory has Everyone-Full Control as well - all the way up to
>> the root of the drive.
>
> It could be that a process still has it open, so Windows isn't
> letting the recovery unlink the file.
>
That was probably it. Even though Process Explorer[1] showed no open handles
to anything in that directory(however, I did find a bunch of orphaned
svnlook processes, probably from my commit mail script. Killing them didn't
have any effect, though), I could run db_recover succesfully.
Oh well.... Thanks!
[1] http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
--
Arild
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 1 23:23:36 2003