错误号 13 - 远程访问 svn 且 dav_svn 失败

发布于 2024-08-22 02:47:05 字数 1690 浏览 5 评论 0原文

我在 svn 存储库上收到以下错误,

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

我已按照 如何极客,以及 Ubuntu 社区页面< /a>,但没有成功。我什至授予了存储库 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 可读可写的。

我做错了什么?

I'm getting the following error on my svn repository

<D:error>
<C:error/>
<m:human-readable errcode="13">
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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清醇 2024-08-29 02:47:05

我必须向 apache 授予我的存储库上方目录的权限:即 /svn

我使用了命令

sudo chown -R www-data:webdev /svn

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
梦在深巷 2024-08-29 02:47:05

也许 /svn/myProject 中的文件和子目录的权限没有更改。您是否递归地更改了它们?

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文