URL:
  <http://gna.org/support/?1498>

                 Summary: Subversion Configuration
                 Project: Savane
            Submitted by: ct1972
            Submitted on: Tuesday 27/02/07 at 14:02
                Category: Installation/Configuration
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 

    _______________________________________________________

Details:

I'm looking for a bit more guidance on SVN configuration.

Specifically:

* I can't get the restricted shell to work with ssh+svn at all;
* I'm not sure how to configure svn access like gna.

When I try to perform an svn checkout with a member with the sv restricted
shell I get :

[EMAIL PROTECTED]:~/test$ svn co
svn+ssh://[EMAIL PROTECTED]/svn/uuwaf/trunk uuwaf
You tried to execute: svnserve -t

and scp causes similar problems...

I have installed a file as follows

foss:/etc# cat /etc/membersh-conf.pl
#!/usr/bin/perl
#
# Sample membersh conf (restricted shell)
#
# $use_cvs = "1";
# $bin_cvs = "/usr/bin/cvs";
#
$use_scp = "1";
$bin_scp = "/usr/bin/scp";
$regexp_scp = "^scp .*-t (/upload)|(/var/ftp)";

$use_sftp = "1";
$bin_sftp = "/usr/lib/sftp-server";
$regexp_sftp =
"^(/usr/lib/ssh/sftp-server|/usr/lib/sftp-server|/usr/libexec/sftp-server)";
#
$use_rsync = "1";
$bin_rsync = "/usr/bin/rsync";
$regexp_rsync = "^rsync --server";
$regexp_dir_rsync = "^(/upload)|(/var/ftp)";

$use_svn = "1";
$bin_svn = "/usr/bin/svnserve";
$regexp_svn = "^/usr/bin/svnserve -t .*"

but no regular expression for $regexp_svn seems to allow this to work. There
are similar issues with scp.

Any ideas? The file in the current trunk isn't really helpful.

Secondly, I can, with a full shell use the ssh+svn method of reading and
writing to svn. I wanted to implement the two other methods of read only
access, just as gna.org does.

i.e.

svn co svn://foss.ulster.ac.uk/svn/opus/trunk <project>
svn co http://foss.ulster.ac.uk/svn/opus/trunk <project>

I'm concentrating on the latter for now. Can I do this without giving write
access to the web user to the database files? I'm having trouble working out
how...

Could an example apache config be posted please?

CT.





    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?1498>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-doc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-doc-dev

Répondre à