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

Re: write-lock not removed with fsfs?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-05 22:06:04 CEST

Bruce, did you ever figure this problem out?

On Apr 28, 2005, at 11:32 AM, Bruce Christensen wrote:

> We're running svn client 1.1.4 on Fedora Core 3, accessing a server
> running svn 1.1.1 on RH Enterprise Linux AS release 4 using the
> svn+ssh protocol.
>
> Whenever one of our users does a commit, svnrep/db/write-lock is
> created, which is to expected, However, the lock is never removed when
> the commit is finished, which means that no other users can commit
> until someone manually removes the write-lock file from the
> repository.
>
> File permissions immediately after user brucec does a commit are as
> follows:
>
> drwxrwxr-x 7 root serveradmin 4096 Apr 22 16:57 svnrep
>
> [brucec@admin Raid]$ ls -l /Raid | grep svnrep
> drwxrwxr-x 7 root serveradmin 4096 Apr 22 16:57 svnrep
> [brucec@admin Raid]$ ls -l /Raid/svnrep/
> total 56
> drwxrwxr-x 2 root serveradmin 4096 Apr 22 16:57 conf
> drwxrwxr-x 2 root serveradmin 4096 Apr 22 16:57 dav
> drwxrwsr-x 5 root serveradmin 4096 Apr 28 10:27 db
> -r--r--r-- 1 root serveradmin 2 Apr 22 16:57 format
> drwxrwxr-x 2 root serveradmin 4096 Apr 22 16:57 hooks
> drwxrwxr-x 2 root serveradmin 4096 Apr 22 16:57 locks
> -rw-rw-r-- 1 root serveradmin 379 Apr 22 16:57 README.txt
> [brucec@admin Raid]$ ls -l /Raid/svnrep/db
> total 52
> -rw-rw-r-- 1 brucec serveradmin 8 Apr 28 10:27 current
> -rw-rw-r-- 1 root serveradmin 5 Apr 22 16:57 fs-type
> drwxrwsr-x 2 root serveradmin 4096 Apr 28 10:27 revprops
> drwxrwsr-x 2 root serveradmin 4096 Apr 28 10:27 revs
> drwxrwsr-x 2 root serveradmin 4096 Apr 28 10:27 transactions
> -rw-rw-r-- 1 root serveradmin 37 Apr 22 16:57 uuid
> -rw-r--r-- 1 brucec serveradmin 0 Apr 28 10:27 write-lock
>
> At this point, brucec can continue to commit, but any other user who
> tries to commit gets the following message:
>
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't open file '/Raid/svnrep/db/write-lock': Permission denied
> svn: Your commit message was left in a temporary file:
> svn: '/tmp/issues/svn-commit.tmp'
>
> All committers are in the serveradmin group.
>
> Any ideas on how to solve this?
>
> Thanks!
>
> --Bruce
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 5 22:13:03 2005

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