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

commit failed with FSFS repository: cannot open file in transactions directory

From: Vlad Skvortsov <vss_at_73rus.com>
Date: 2005-06-06 10:27:04 CEST


I have Subversion 1.2.0 installed with FSFS repositories on FreeBSD
server (built from ports). The repositories are accessed via HTTP.

I've run into the same problems couple of times for now with different
repositories. The commit fails with the diagnostics like this:

subversion/libsvn_client/commit.c:832: (apr_err=13)
svn: Commit failed (details follow):
subversion/libsvn_ra_dav/util.c:368: (apr_err=13)
svn: Can't open file
'/X/svn/snapcat/db/transactions/1324-2.txn/node.0.0': Permission denied
subversion/clients/cmdline/util.c:380: (apr_err=13)

After this the transactions repository contains directories with strange
permissions (there are two of them because I've tried to commit once
again after the initial failure):
drw-rw-rw- 2 www svn 512 Jun 6 00:23 1324-1.txn/
drw-rw-rw- 2 www svn 512 Jun 6 01:00 1324-2.txn/

Note 'rw-' for anyone and no 'x' bit for a directory (though, absence of
'x' could be ok). Group svn includes www user.

After manually removing those directories, commit succeded.

Again, this happened in two different repositories that were usable
before that.

These are the contents of one of those repositories:

drwxrwsr-x 5 root svn 512 Jun 6 01:08 ./
drwxr-xr-x 7 root wheel 512 Jun 2 18:14 ../
-rw-rw-r-- 1 www svn 11 Jun 6 01:08 current
-r--rw-r-- 1 root svn 2 Jun 2 18:14 format
-rw-rw-r-- 1 root svn 5 Jun 2 18:14 fs-type
drwxrwxr-x 2 root svn 17920 Jun 6 01:08 revprops/
drwxrwxr-x 2 root svn 17920 Jun 6 01:08 revs/
drwxrwxr-x 2 root svn 512 Jun 6 01:09 transactions/
-rw-rw-r-- 1 root svn 37 Jun 2 18:15 uuid
-rw-rw-r-- 1 root svn 0 Jun 2 18:14 write-lock

What could be the issue? I couldn't find any links related to this
problem in Google.

Vlad Skvortsov, vss@73rus.com, vss@high.net.ru
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 7 19:07:26 2005

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.