[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: db_recover fails

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-01 22:53:01 CET

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.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 1 22:48:14 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.