You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Bittner,Peter" <Bi...@teamworks.eu.com> on 2005/11/04 07:01:25 UTC
Subversion on Debian
Hi there!
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?
I need to understand this before I go my own way and do something
wrong... :-(
Best regards,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion on Debian
Posted by Phil Endecott <sp...@chezphil.org>.
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
Re: Subversion on Debian
Posted by Ignacio García Fernández <ig...@uv.es>.
Hi!
I don't think there exist a 'debian approach'. It will depend on the
access method you use.
I'm using ssh with server users, and I have hand-edited ownership so
that everithing belongs to root:users (all users in 'users' have to
access my repo).
However, I think this question should be asked to the debian mantainer
of svn, rather than here.
Regards
Ignacio
El vie, 04-11-2005 a las 08:01 +0100, Bittner,Peter escribió:
> Hi there!
>
> 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?
>
> I need to understand this before I go my own way and do something
> wrong... :-(
>
> Best regards,
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
May the source be with you
---------------------------------------------------------------
Ignacio García Fernández Instituto de Robótica
ignacio.garcia_at_uv.es Universidad de Valencia
http://robotica.uv.es/~ignacio/ Tlf. +34 96 354 3564