You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marcin Gil <mg...@vernet.pl> on 2003/10/23 21:30:09 UTC

svnserve + ssh

My svnserve runs through ssh smoothly.. Again Subversion lights
as a serious piece of software :)

But I don't know how to restrict it to a required directory.
My repo lies in /home/svn, so my URI looks like this:
svn co svn+ssh://repo.vernet.pl/home/svn/bip/trunk

How can I restrict (like running svnserve -r) svn through ssh?

Thanks for your patience..
-- 
  Marcin Gil
    email#   mgil : vernet pl | GaduGadu ID# 185057
    JID# dentharg : chrome pl | 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnserve + ssh

Posted by Marc Singer <el...@buici.com>.
On Thu, Oct 23, 2003 at 11:30:09PM +0200, Marcin Gil wrote:
> My svnserve runs through ssh smoothly.. Again Subversion lights
> as a serious piece of software :)
> 
> But I don't know how to restrict it to a required directory.
> My repo lies in /home/svn, so my URI looks like this:
> svn co svn+ssh://repo.vernet.pl/home/svn/bip/trunk
> 
> How can I restrict (like running svnserve -r) svn through ssh?
> 
> Thanks for your patience..

I have a setup where there are users of svn+ssh who are not permitted
any other access to the system.  During the setup, I happened to
read-up on rbash.  Turns out that this is a really nice way to
restrict what people can do with the system.  In a nutshell, it allows
you to configure a user to have access only to applications you
explicitly provide.  So, you may be able to use this features, along
with a wrapper scripts, to limit a user's access.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnserve + ssh

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Thu, Oct 23, 2003 at 11:30:09PM +0200, Marcin Gil wrote:
> My svnserve runs through ssh smoothly.. Again Subversion lights
> as a serious piece of software :)
> 
> But I don't know how to restrict it to a required directory.
> My repo lies in /home/svn, so my URI looks like this:
> svn co svn+ssh://repo.vernet.pl/home/svn/bip/trunk
> 
> How can I restrict (like running svnserve -r) svn through ssh?

See http://www.contactor.se/~dast/svnusers/archive-2003-08/0548.shtml

If that doesn't help, just post to the list again with the problems
you're having.

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 0.32 hanging...

Posted by Ben Collins-Sussman <su...@collab.net>.
Christopher Baus <ch...@yahoo.com> writes:

> I just finished compiling and installing 0.32.  I
> upgraded from 0.29.  I did:
> 
> make
> make install
> cd ~
> svn co file:///path/to/rep/trunk src

Does 'svnadmin' or 'svnlook' hang when you try to access the
repository directly?  It could be a permissions problem, or a
left-over lock.  Try running 'svnadmin recover'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 0.32 hanging...

Posted by "C. Michael Pilato" <cm...@collab.net>.
Christopher Baus <ch...@yahoo.com> writes:

> I just finished compiling and installing 0.32.  I
> upgraded from 0.29.  I did:
> 
> make
> make install
> cd ~
> svn co file:///path/to/rep/trunk src
> 
> ...and no go.  The client just hangs.

Did you try running 'svnadmin recover' on your repository when no
other processes are accessing it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 0.32 hanging... more info

Posted by "C. Michael Pilato" <cm...@collab.net>.
Christopher Baus <ch...@yahoo.com> writes:

> svnadmin verify /path/to/repos hangs as well...
> 
> I'm a bit nervous here...

Pretty much all operations except 'recover' will hang if any of them
do.  You should definitely run 'svnadmin recover'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 0.32 hanging... svn recover...

Posted by Christopher Baus <ch...@yahoo.com>.
I'm running svnadmin recover now.  I'm not sure if it
is hanging, but the CPU is idle, and I have

Recovery is running, please stand by...

It has been a few minutes now



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 0.32 hanging... more info

Posted by Christopher Baus <ch...@yahoo.com>.
svnadmin verify /path/to/repos hangs as well...

I'm a bit nervous here...



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

svn 0.32 hanging...

Posted by Christopher Baus <ch...@yahoo.com>.
I just finished compiling and installing 0.32.  I
upgraded from 0.29.  I did:

make
make install
cd ~
svn co file:///path/to/rep/trunk src

...and no go.  The client just hangs.

System info follows.


gcc --version
gcc (GCC) 3.3.1 20030811 (Red Hat Linux 3.3.1-1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.

uname -a
Linux 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686
athlon i386 GNU/Linux

svn --version
svn, version 0.32.1 (r7497)
   compiled Oct 23 2003, 17:28:28

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see
http://subversion.tigris.org/

The following repository access (RA) modules are
available:

* ra_dav : Module for accessing a repository via
WebDAV (DeltaV) protocol.
  - handles 'http' schema
* ra_local : Module for accessing a repository on
local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the
svn network protocol.
  - handles 'svn' schema

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org