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

Re: svnserve, bind to port <1024

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-11-01 16:09:38 CET

Martin Luessi wrote:
> Hi
>
> To be able to come thru a firewall I'm forced to run svnserve on a
> privileged
> port (<1024). Since svnserve is not able to change it's UID after the
> socket
> has bound to a port and I don't want to run it as root, I had to change
> the
> source (just add setuid(UID), setgid(GID) to subversion/svnserve/main.c)
>
> I really think this feature should be a standard in svnserve, are there
> any
> plans to implement this?
>
> thanks for this great piece of software
>
> Martin
>
> PS: please add me as CC when you answer, I have not jet subscribed to this
> list

I'm not aware of any current plans, but perhaps you would like to send
another email here with a subject like "Proposal: add --user and --group
options to svnserve, to enable dropping privileges when run as root", to see
if anyone has any objections. If none, then if you could submit a patch to
add these options, we will commit it.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 1 16:17:24 2004

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.