开发者

Error number 13 - Remote access svn with dav_svn failing

I'm getting the following error on my svn repository

<D:error>
<C:error/>
<m:human-readable errcode="13"&g开发者_Python百科t;
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>

I've followed the instructions from the How to Geek, and the Ubuntu Community Page, but to no success. I've even given the repository 777 permissions.

<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>

The permissions follow:

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

And svnadmin validates the directory

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

and I'm accessing the repository at

http://ipAddress/svn/myProject

Edit: The apache error log says

[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]

Even though I confirmed that this file is ugo readable and writable.

What am I doing wrong?


I had to give permissions to apache to the directory above my repo: ie /svn

I used the command

sudo chown -R www-data:webdev /svn


Perhaps the permissions of the files and subdirectories in /svn/myProject weren't changed. Did you change them recursively?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜