[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: Tom Rune Flo <tom_at_x86.no>
Date: 2005-04-26 08:52:31 CEST

On Tue, Apr 26, 2005 at 02:39:53AM -0400, Greg Hudson wrote:
> On Tue, 2005-04-26 at 00:37, Tom Rune Flo wrote:
> > The following patch will add two command line options to svnserve,
> > allowing users who run svnserve as a stand alone daemon to drop
> > privileges to a user specified uid and gid. (-u uid -g gid)
>
> Why not just run svnserve as the desired uid and gid? It doesn't use a
> privileged port.

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 08:53:30 2005

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