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

Re: frequent Berkeley database errors

From: Pasi Hirvonen <psh_at_iki.fi>
Date: 2003-11-07 22:12:01 CET

On 07/11/03 13:34 -0600, Ben Collins-Sussman wrote:
[snip (error message)]
> If two people are hitting the repository with svn+ssh://, that's
> equivalent to the same two people sitting on the server machine and
> accessing the db files directly via file:///.

I might (and probably should) consider alternative methods of
accessing the repository then, this was just such a sweet and
simple way. :)

> Are you having permissions and umask problems? That's the most likely
> cause of these problems in such a scenario. Look at the "repository
> permissions" section of chapter 5 in the book.

I suspected this too but so far I haven't found anything that
should cause this. /home/svn/reposname is owned by user svn (group
svn) and we both are in svn group. File permissions there are set
to 770. After this I saw this problem first times I tried a wrapper
script for svn that sets the umask (and this is still used):

#!/bin/sh
umask 002
/usr/local/bin/svn.real $*

This hasn't so far fixed the problem. I'll take an another look at
the Subversion book and maybe try other ways than svn+ssh.

-- 
Pasi Hirvonen
Public PGP key: http://www.iki.fi/psh/gpg/pubkey.txt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 7 22:43:34 2003

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.