You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Thaxter <th...@gomoos.org> on 2004/03/19 18:28:04 UTC
group permissions, segfaults
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