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

Re: --username not honored with svn+ssh:// transport

From: Duncan Murdoch <subversion_at_murdoch-sutherland.com>
Date: 2007-02-23 00:43:05 CET

On 2/22/2007 11:31 AM, Brian A. Seklecki wrote:
> For some reason, only the current effective UID is honored ($USER) when
> svn(1) sub-exec's ssh(1).
>
> This is really inconvienent in light of the fact that "propset mode"
> refuses to work on a lot of platforms.
>
> So you end up "sudo -H svn [...]"'ing a lot of commands to work around
> permissions problems on working copies and ./.svn/*; which has the
> side-effect of breaking a lot of automated authenticaiton (ssh-agent,
> etc.)
>
> Shouldn't the "remote ssh-user" be recorded/cached in authentication
> tokens?
>
> Another possibility is supporting the 'username@' in the
> svn+ssh://username[:...]@ufqdn/path
>
> Or, just make "--username=" get passed to ssh(1) "-u".

I don't know the mechanism used to communicate this to ssh, but

svn+ssh://dmurdoch@my.domain/usr/home/dmurdoch/svnroot

works fine for me, while logged on as murdoch. No sudo needed. (This
is running the Windows version of svn in Cygwin, not the Cygwin one.)

Duncan Murdoch

>
> l8*
> -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
> http://www.spiritual-machines.org/
>
> "...from back in the heady days when "helpdesk" meant nothing, "diskquota"
> meant everything, and lives could be bought and sold for a couple of pages
> of laser printout - and frequently were."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 23 00:43:30 2007

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.