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

Re: Repository keeps corrupting

From: Marcus Welz <marcus_at_lucidix.com>
Date: 2003-09-04 18:56:10 CEST

Philip Martin said:
> "Marcus Welz" <marcus@lucidix.com> writes:
>
>> Philip Martin said:
>>> "Marcus Welz" <marcus@lucidix.com> writes:
>>>
>>>> I was running 0.28 at the time and wanted to see how it would work
>>>> with
>>>> multiple users. I didn't keep notes of what exactly happened, but the
>>>> first time I tried to access svn with a different user, it corrupted
>>>> shortly afterwards.
>>>
>>> Multiple users over ra_local leads me to suspect file permissions on
>>> the repository. Have you read the repository permissions section of
>>> the Subversion book?
>>>
>> Indeed, I have. The umask is set to 002 for each user with access to the
>> repository (currently that's only 2 users.). I guess I should try using
>> the wrapper method instead.
>
> Have you checked the permissions of the files on the disk in any of
> the repositories that are giving you problems? Does the user
> accessing the repository have write access to all the files in the db/
> directory?
>
I did chmod -R g+w the whole repository to begin with. I just did notice
that some of the __DB files were owned by an individual user. Not sure if
that's umask related. The first time I ran "svnadmin recover" I did that
as root, which of course broke some permissions, but I had those fixed
right away. I just added a wrapper to svn and svnadmin to see how that
holds up.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 4 18:57:04 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.