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

Re: ssh+svn root

From: Marcus Rohrmoser <mrohrmoser_at_gmx-gmbh.de>
Date: 2004-11-23 17:25:50 CET

Hi Adam,
this topic has been here several times.

Another solution than setting an alias is to create a wrapper shell
script - this way you can also set the umask accordingly.

Greetings,
        M

Adam Stroud wrote:
> I posted a messaged a few months ago asking how to change the root
> using ssh+svn so that my svnserve urls look like
> "svn+ssh://user@host/repo_name" instead of
> "svn+ssh://user@host/path/to/repo. I did not get any reponses and it
> seemed like other people were having the same problem. I have figured
> out a solution that works for me.
>
> The reason that I could not use the -r option with ssh+svn is because
> in tunnel mode the svnserve process gets started by the individual
> user that prepends the url. This means that each user needs to launch
> the svnserve with the -r option. I was having svnserve get launched
> via inetd with the -r option which really has not effect when using
> ssh (in fact I no longer start svnserver in a system wide manner
> because the ssh+svn takes care of this). What I did was to set the
> alias: svnserve 'svnserve -r /path/to/repos' in a system wide file
> (/etc/csh.cshrc on FreeBSD) and now everything works for every user
> using csh.
>
> I dont know if there is a better way to accomplish the like with
> environment vars to set the flags or soemthing of that nature.
>
> Hope this helps anyone that was having the same problem I was.
>
> A
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Marcus Rohrmoser
Software Entwickler
GMX GmbH, Riesstr. 17, 80992 München
Telefon +49 89 14339-539
----
Infos über EMail Sicherheit: http://www.gnupp.de

Received on Tue Nov 23 17:28:20 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.