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

Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied"

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Tue, 10 Aug 2010 16:36:54 +0200

On 2010-08-10 16:12:15 +0200, Vincent Lefevre wrote:
> After a repository upgrade with svn version 1.5.1 (r32289) a few days

Note: the upgrade was done with:

  svnadmin upgrade /svnroot/mpfr
  svn-populate-node-origins-index /svnroot/mpfr

> ago, we now get the following error when committing:
>
> svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
>
> No problems for read operations.
>
> The DB FS type is FSFS, and we have:
>
> vlefevre_at_ff-scm-prod:~$ ls -l /svnroot/mpfr/db
> total 468
> -rw-rw-r-- 1 www-data scm_mpfr 11 Aug 5 02:26 current
> -r--r--r-- 1 www-data scm_mpfr 15 Aug 6 16:01 format
[...]

I notice that the "current" file hasn't been updated by the upgrade.
It contains:

7052 un bv

while the documentation[*] says:

The format of the "current" file is:

 * Format 3 and above: a single line of the form
   "<youngest-revision>\n" giving the youngest revision for the
   repository.

 * Format 2 and below: a single line of the form "<youngest-revision>
   <next-node-id> <next-copy-id>\n" giving the youngest revision, the
   next unique node-ID, and the next unique copy-ID for the
   repository.

[*] http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Received on 2010-08-10 16:37:34 CEST

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

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