[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: Brian Mathis <bmathis_at_directedge.com>
Date: 2004-02-13 17:57:24 CET

Perry E. Metzger wrote:
[......]

>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.

-- 
Brian Mathis
http://directedge.com/b/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 17:57:57 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.