So as of two days ago I had myself a shiny new SVN server. I set it up for WebDAV with no problems. It wasn't until I tried to host multiple projects that I ran into trouble.
At first, I had all of the project folders in one repository. But then I saw the error in my ways and switched to multiple repositories. Rather than editing the
/etc/apache2/sites-available/default file with every new project, I selected to use the svnserve daemon.
So, the problem is, I can only make commits from Eclipse when the daemon is run as root. If not, I get a "Permission Denied" error. Any ideas? Here are the directory stats:
drwxr-xr-x 6 root root 4096 2011-06-07 09:38 . drwxr-xr-x 4 root root 4096 2011-06-05 00:48 .. lrwxrwxrwx 1 svn svn 6 2011-06-06 22:35 all -> repos/ drw-rw-r-- 6 svn svn 4096 2011-06-06 13:53 EmpowerView drw-rw-r-- 6 svn svn 4096 2011-06-06 13:54 GoogleVoicemail -rw-rw-r-- 2 svn svn 307 2011-06-07 08:47 passwd drw-rw-r-- 6 svn svn 4096 2011-06-06 13:54 PerlinNoise drw-rw-r-- 7 svn svn 4096 2011-06-05 02:15 repos -rw-rw-r-- 3 svn svn 2278 2011-06-07 08:46 svnserve.conf
I tried the suggested re-checkout with the daemon not running as root, and still no cigar. Same permission error.
I also tried running the daemon as the user svn, but no such luck. At one point I screwed up my primary group and no longer had sudo privileges! I had to hack into my own server through a buddy's account.