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

Re: Problem with local checkouts

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2002-11-13 23:35:14 CET

On Wed, Nov 13, 2002 at 03:07:22PM -0600, Quincey Koziol wrote:

> Is this normal? Should I start the [apache2] server from my own login?

If you can afford to do this, yes. I have this problem regularly with
mixing ra_local and ra_dav access to the same repository. What's
worse is that Berkeley DB will often report database corruption when
the only issue is that it can't read or write to a log file it needs.
I incorporated the following into my repos backup script which usually
staves off any problems, but sometimes I need to chmod and db_recover
to fix the problem.

REPODB="${REPO}/db"

# fix permissions before we try svnadmin
sudo chmod -R 664 "${REPODB}"
sudo chmod 775 "${REPODB}"
sudo chown -R www:svn "${REPODB}"

I'm not sure the right way to fix this transparently; it will probably
be an issue with ra_pipe as well, since the svn binary runs as the
user rather than as the Web server in that case.

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 13 23:36:06 2002

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.