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

group permissions, segfaults

From: Jason Thaxter <thaxter_at_gomoos.org>
Date: 2004-03-19 19:28:04 CET

Hi,

I've gotten a couple segfaults recently with 1.0.0, followed by the need to
svnadmin recover, and I think I've traced the cause to file permissions in the
repository.

I have a group-accessible repository accessed both locally AND through Apache.
It seems that after a commit (via file:// or http://), the next operation by a
different user (whether the Apache user OR a local user) segfaults. Next,
messages come up demaning svnadmin recover. Each time this has happened, I've
found db/log.* files that were not group-writable. Fixing the permissions (as
root) and running svnadmin recover seemed to solve the problem. Fixing umasks
seemed to have prevented it from recurring.

This looks fairly close to this issue:
http://subversion.tigris.org/issues/show_bug.cgi?id=1357

The most obvious explanation is that a database operation starts and dies when
it's unable to open a certain file in the repository, causing the need for
recover.

This is on FreeBSD 4.8 and 5.2, hand compiled and from the port.

Hardly a showstopper, but at least instead of crashing, a helpful message
about permissions seems in order.

-- 
----------------------------------------------
Jason Thaxter
GoMOOS, P.O. Box 4919, Portland, ME 04112-4919
Office Location: 1 Canal Plaza, 7th Floor
Office: 207.773.0423
Fax:    207.773.8672
Email:  thaxter@gomoos.org
------------www.gomoos.org--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 19 19:28:39 2004

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