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

Re: svnserve privilege changing/dropping command line options patch

From: Greg Stein <gstein_at_lyra.org>
Date: 2005-04-26 13:06:45 CEST

One of svnserve's original design considerations was to be very, very
light weight compared to Apache. If you're going to get into all kinds
of fancy shmancy options and additional set uid/gid code and whatnot,
then you've moved away from one of its original design points.

Marcus provides some good options... very helpful to keep svnserve slim.

Cheers,
-g

On Tue, Apr 26, 2005 at 01:40:12PM +0200, Marcus Rueckert wrote:
> On 2005-04-26 08:52:31 +0200, Tom Rune Flo wrote:
> > One reason would be if you want to start svnserve automatically during
> > boot time, as you probably do with most of your other daemonized servers.
> >
> > You could of course write some sort of wrapper for this, but to me it
> > makes a lot more sense for svnserve to be able to set uid/gid by itself.
>
> just some examples:
> # suse
> $ startproc -u svn -g svn -e /usr/bin/svnserve -d -r /srv/svn/repositories
>
> # debian
> $ start-stop-daemon --start --chuid svn --group svn --exec /usr/bin/svnserve -- -d -r /srv/svn/repositories
>
> # general
> sudo -u svn "/usr/bin/svnserve -d -r /srv/svn/repositories"
>
> i think this are enough solutions which all work.
>
> darix

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 13:58:17 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.