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

Re: adding to svnserve a new mode for ascertaining the tunnel_user.

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-12-16 10:55:30 CET

Omri Schwarz wrote:
> Hi, all.
>
> I have repositories that I would like to serve over both https and svn+ssh.
> Since they are owned by the Apache user, I would like to make svnserve a
> setuid binary (Apache's uid is sufficiently un-privileged for my concerns)
> and have it set the tunnel_user variable to be the value of getuid() when
> it detects this configuration (which is when getuid() differs from geteuid()).

Hmm. Looks to me like it *already* uses getuid().

get_tunnel_user() calls
svn_user_get_name() calls
get_os_username() calls
apr_uid_current() calls
getuid()

Max.

Received on Sat Dec 16 10:56:05 2006

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.