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

Re: Subversion on Debian

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2005-11-04 19:34:21 CET

Bittner,Peter wrote:
> I need some help with Subversion on a Debian box.
>
> The (current) Debian/testing installs the subversion repository using a
> subversion group, so all files in the BerkelyDB are owned by
> root:subversion.
>
> The problem I have, is that I get "permission denied" from, e.g.,
> ViewCVS which has an integrated subversion access.
>
> What do I have to do to get things right with permissions to make
> Subversion run on the Debian box as intended? The Subversion book talks
> about creating a dedicated user which should run (and have rights on)
> nothing but subversion. What is the Debian aproach to this?

Hi Peter,

On my Debian box I have created a group called svn and recurively given
my fsfs repository that group, and group write permission. I've also
added the group sticky bit so that new files/directories will get that
group. I presume that something similar will happen for Berkely. Then,
real users (if any) who will access it using file: can be added to the
svn group. For access via Apache, including viewcvs, I have added
www-data to group svn. (Remember to restart apache so that it gets the
new group in its id.)

I don't claim that this is the "Debian way" but it works for me.

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 4 19:36:16 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.