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

Re: a few nits setting up svn...

From: Perry E. Metzger <perry_at_piermont.com>
Date: 2004-02-13 18:47:46 CET

Brian Mathis <bmathis@directedge.com> writes:
>>As I said, the easiest thing of all is probably the 30 lines of code
>>needed to make the local access method successfully use suid. It
>>should probably just open the files it needs, record the real user ID,
>>and drop privs. Alternatively, given that we're talking suid "svn" and
>>not suid root, it may be sufficient just to record the real user ID so
>>that the right user is recorded in the logs etc...
>
> There's already a way to make all your accesses to the repos "suid" to
> svn, it's called svnserve. Run it as user "svn" and viola, all
> accesses through it are done as user "svn". Tunnel over ssh, and
> you're done.

Why bother? The direct tools can do exactly the same thing, and then I
don't have to worry that svnserve is accidently misconfigured to
listen to the wrong interface one morning. Fewer moving parts, fewer
accidents.

-- 
Perry E. Metzger		perry@piermont.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 18:48:07 2004

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.