The user running apache needs write access to your repository.

Cheers / Erik

On Tue, Apr 13, 2010 at 10:01 PM, Disc Magnet <discmag...@gmail.com> wrote:

> This is my configuration.
>
> <Location /myrepository>
>  DAV svn
>  SVNParentPath /home/magnet/myrepository/
> </Location>
>
> The checkout command runs fine:
>
> svn co http://localhost/myrepository/hachumachu
>
> However, the commit command results in this error:
>
> mag...@faku:~/hachumachu$ svn commit -m "Additional line"
> svn: Commit failed (details follow):
> svn: Can't open file
> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission
> denied
>
> This appears in my Apache error log:
>
> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Could not create
> activity
> /myrepository/hachumachu/!svn/act/a3cb143e-3098-499b-b7d1-5d5b7e982881.
>  [500, #0]
> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] could not begin
> a transaction  [500, #13]
> [Wed Apr 14 01:04:58 2010] [error] [client 127.0.1.1] Can't open file
> '/home/magnet/myrepository/hachumachu/db/txn-current-lock': Permission
> denied  [500, #13]
>
> In case you want to see the permissions on the folders.
>
> mag...@faku:~/myrepository$ ls -l
> total 12
> drwxr-xr-x 4 magnet magnet 4096 2010-04-11 18:13 ondalabondala
> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 18:12 hachumachu
> drwxr-xr-x 6 magnet magnet 4096 2010-04-11 19:36 haggupaggu
>
> Please help.
>

Reply via email to