svn:E170000:无法识别的ssh + svn / E204900的URLscheme权限被拒绝

我试图build立一个新的颠覆服务器。 它的安装,我已经从旧服务器导入一个存储库。 我可以检查这个存储库到我的桌面。 当我更改文件并尝试提交时,Eclipse SVN中出现以下错误:

svn: E204900: Commit failed (details follow): svn: E204900: Can't open file '/path/to/repositories/testproject123/db/txn-current-lock': Permission denied 

在(Amazon Linux)服务器上安装SVN 1.8.13。 (Ubuntu 14.04)桌面客户端是1.8.8版本。 模块和scheme是一样的。

 $ svn --version svn, version 1.8.13 (r1667537) compiled Aug 25 2015, 01:06:14 on x86_64-redhat-linux-gnu Copyright (C) 2014 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.7 - handles 'http' scheme - handles 'https' scheme 

我尝试使用命令行进行结帐,导致出现以下错误:

 $ svn co ssh+svn://[email protected]/path/to/repo svn: E170000: Unrecognized URL scheme for 'ssh+svn://[email protected]/path/to/repo 

该命令在旧服务器上也不起作用。 我有ssh访问两个服务器使用相同的用户名为svn。

svn仓库文件由apache:apache拥有apache:apache

我如何提交文件到这个仓库? 我怎样才能使用命令行结帐?

你有两个(无关的)问题

  1. 正确的协议“SVN over SSH”是svn+ssh://
  2. 存储库文件(所有树)必须是用于SSH用户的RW,在该用户下连接到服务器