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

Re: cannot commit

From: Tom Brown <brown_at_esteem.com>
Date: 2005-08-31 01:47:58 CEST

On Tuesday 30 August 2005 15:35, Jon Bendtsen wrote:
> Den 31. aug 2005 kl. 0:28 skrev Tom Brown:
> > On Tuesday 30 August 2005 15:03, you wrote:
> >> Den 30. aug 2005 kl. 23:42 skrev Tom Brown:
> >>> Hi,
> >>>
> >>> I recently moved a repository from one disk to another. I can
> >>> checkout of the
> >>> resository just fine. However, when I commit I get this error:
> >>> svn: Commit failed (details follow):
> >>> svn: Can't create directory '/usr/local/estsvn/est/db/transactions/
> >>> 86-1.txn':
> >>> Permission denied
> >>>
> >>> I am using subversion 1.2.1 and the fsfs file system. The owner on
> >>> all the
> >>> files and directories of /usr/local/estsvn and below is root:svn.
> >>> What have I
> >>> done wrong?
> >>
> >> Try to actually create a file in the same directory.
> >>
> >>
> >> JonB
> >
> > I created a file in /usr/local/estsvn/est/db/transactions using the
> > nobody
> > account without a problem. I am accessing the server using https
> > via apache2.
> > Apache runs as nobody. Do you know what user the file is being
> > created with
> > when I do a commit?
>
> the user/group the apache server is running as.
> Make the directory world writeable and see what happens.
>
>
>
> JonB

I made the directory world writeable then received this error on check-in:
svn: MERGE request failed on '/svn/est/modeminit195e'
svn: Can't open file '/usr/local/estsvn/est/db/write-lock': Permission denied

So I made the write-lock file world writeable and got this error:
svn: MERGE request failed on '/svn/est/modeminit195e'
svn: Can't move '/usr/local/estsvn/est/db/transactions/86-1.txn/rev' to
'/usr/local/estsvn/est/db/revs/87': Permission denied

So I did a 'chmod -R o+w /usr/local/estsvn' and now I can do a check-in.

I don't like having my whole repsitory world writeable. Is there a way to fix
this? I noticed that apache2 creates directories as nobody:svn. The nobody
user is in the svn group so it should be able to create directories in the
repository without the directories being world writeable. Is there a reason
why it can't?

Thanks,
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 31 01:48:13 2005

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.