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

Re: Can the Apache front end and svnserve service run on the same server?

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Wed, 5 Aug 2015 09:01:36 -0400

On Wed, Aug 5, 2015 at 8:51 AM, <ANDREW.LUCAS_at_l-3com.com> wrote:
> Can the Apache front end and svnserve service run on the same server?
>
> We are going through a migration.. I’d like to keep the svnserve setup as a
> fallback.. and until everything gets upgraded.
>
> Will this idea work?
>
>
>
> thanks

It can, but it can get tricky. On a Linux or UNIX system, the will
need to be shared by a common group of which both the "svnserve"
daemon user and the Apache daemon user will need to be members, and
the permissions of the writable subdirectories will need to be "2770"
to help ensure that new files are created correctly with the right
ownership. 2770, means no one *else* can see the files, and and uses
the "sgid" bit to help ensure the group ownership is set correctly on
new files: look it up!

Also, you'll need to review your user and group permissions to write
to the repository: Apache can have its own restrictions, on top of
those in svnserve.conf, and it can get tricky to make consistent.
Received on 2015-08-05 15:01:50 CEST

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.