代码之家  ›  专栏  ›  技术社区  ›  C. Ross trotttrotttrott

错误号13-远程访问SVN,DAV_SVN失败

  •  2
  • C. Ross trotttrotttrott  · 技术社区  · 15 年前

    我的SVN存储库出现以下错误

    <D:error>
    <C:error/>
    <m:human-readable errcode="13">
    Could not open the requested SVN filesystem
    </m:human-readable>
    </D:error>
    

    我已经按照 How to Geek Ubuntu Community Page 但是没有成功。我甚至给了仓库 777 权限。

    <Location /svn/myProject >
    
      # Uncomment this to enable the repository
      DAV svn
    
      # Set this to the path to your repository
      SVNPath /svn/myProject
      # Comments
    
      # Comments
    
      # Comments
      AuthType Basic
      AuthName "My Subversion Repository"
      AuthUserFile /etc/apache2/dav_svn.passwd
    
      # More Comments
    
    </Location>
    

    权限如下:

    drwxrwsrwx 6 www-data webdev 4096 2010-02-11 22:02 /svn/myProject
    

    svnadmin 验证目录

    $svnadmin verify /svn/myProject/
    * Verified revision 0.
    

    我正在访问存储库

    http://ipAddress/svn/myProject
    

    编辑:Apache错误日志显示

    [Fri Feb 12 13:55:59 2010] [error] [client <ip>] (20014)Internal error: Can't open file '/svn/myProject/format': Permission denied
    [Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not fetch resource information.  [500, #0]
    [Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not open the requested SVN filesystem  [500, #13]
    [Fri Feb 12 13:55:59 2010] [error] [client <ip>] Could not open the requested SVN filesystem  [500, #13]
    

    即使我确认了这个文件是ugo可读和可写的。

    我做错什么了?

    2 回复  |  直到 14 年前
        1
  •  4
  •   C. Ross trotttrotttrott    15 年前

    /svn

    sudo chown -R www-data:webdev /svn
    
        2
  •  0
  •   Dingo    15 年前