我需要从uni的SVN下载一些文件。在sudo中运行svn co命令可以使其完美运行,但是使用我的基本帐户,它会显示500个内部服务器错误。我希望能够在没有root权限的情况下运行svn。
运行svn co与sudo svn co的示例
~/Uni/testingSvn @ [16:48:26]
$>ls
~/Uni/testingSvn @ [16:48:27]
$>svn co https://version-control.adelaide.edu.au/svn/a1687068
Authentication realm: <https://version-control.adelaide.edu.au:443> cs subversion
Password for 'desmond': (double checked correct PW)
svn: E170013: Unable to connect to a repository at URL 'https://version-control.adelaide.edu.au/svn/a1687068'
svn: E175002: Unexpected server error 500 'Internal Server Error' on '/svn/a1687068'
~/Uni/testingSvn @ [16:49:10]
$>sudo svn co https://version-control.adelaide.edu.au/svn/a1687068
Authentication realm: <https://version-control.adelaide.edu.au:443> cs subversion
Password for 'a1687068': (PW)
^Csvn: E170013: Unable to connect to a repository at URL 'https://version-control.adelaide.edu.au/svn/a1687068'
svn: E200015: Caught signal
~/Uni/testingSvn @ [16:49:30]
$>sudo svn co https://version-control.adelaide.edu.au/svn/a1687068
Authentication realm: <https://version-control.adelaide.edu.au:443> cs subversion
Password for 'a1687068': (PW)
A a1687068/2015
...(lots more adds)
添加文件时发生类似的问题
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Failed to lock working copy '/home/desmond/Uni/cv'.
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database
并运行svn清理。
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database
清理似乎可以使用root权限,直到我尝试在没有权限的情况下添加
~/Uni/cv @ [16:32:14]
$>sudo svn cleanup
[sudo] password for desmond:
~/Uni/cv @ [16:32:53]
$>svn add addMe
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Failed to lock working copy '/home/desmond/Uni/cv'.
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database
该错误甚至发生在〜/ Uni文件夹之外,因此在我看来svn安装有问题或用户帐户有问题。
我也尝试过卸载并重新安装SVN。没有变化。
谢谢您的任何想法。