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

Re: commit with owner and group of my repository as unix user

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-05-22 23:30:41 CEST

On May 22, 2007, at 08:59, Sonal Uphale wrote:

> I have configured subversion1.4.3 on RHEL5 with apache2. The owner
> and group of my
> repository is sbmrepos. The repository is given full permissions
> (777). Here if I try to commit,
> then I was getting error as
> svn: Commit failed (details follow):
> svn: Can't open activity db: Permission denied
> So I changed owner and group to apache, and then I could commit.
> However, I want to retain owner and group of my repository as
> sbmrepos, How can I achieve this?

My impression is that it should have worked if you had everything set
to 777. The fact that it didn't work suggests that maybe some part of
the repository wasn't 777.

The correct way to set up a repository with Apache is to have it
owned by the user under which Apache runs, and to set the permissions
so that only that user can read/write (700 permissions on
directories, 600 on files).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 22 23:35:21 2007

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.