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

Re: Disabling svn+ssh access?

From: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2005-06-14 12:56:24 CEST

On Jun-14-05, at 6:32 AM, Lutz Frommberger wrote:

> usually users access the repository via WebDAV, and that works really
> fine. Some users, however, manage to checkout via svn+ssh (the users
> have an account there and the right permissions to do so and I can't
> easily change that), but this causes problems, as some hook scripts
> don't run due to permission problems. Also users confuse passwords
> etc.
> So I want to disable the svn+ssh access without disabling the ssh
> access. How can this be done?

Given that the URIs the users use don't have to have a direct
relationship to the location of the repo on disk, can't you just move
the repo somewhere on the server that only the WebDAV server can get
to? You'd need a few seconds of downtime (depending on whether the
new location was on the same filesytem or not), but the URIs the
users use wouldn't have to change, as you'd just change your SVNPath
or SVNParentPath directive to mask the move.

Presumably they have permissions as regular users to get to the repo
on disk, not by becoming root or anything like that, so moving the
repo one directory level down and changing ownership of the new
parent to a group that the web server user is in but they are not
should do the trick, wouldn't it?

James FitzGibbon
Systems Developer, Primus Telecommunications Canada
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
Pour la version en franšais de ce message, veuillez voir
Received on Tue Jun 14 12:58:54 2005

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.