[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Unable to checkout files: Can't open file: Permission denied

From: Disc Magnet <discmagnet_at_gmail.com>
Date: Wed, 14 Apr 2010 02:57:46 +0530

I did that. I ran these two commands.

chgrp -R www-data myrepository
chown -R 770 myrepository

Now, I get this error:

$ svn commit -m "Updating"
svn: Commit failed (details follow):
svn: Could not open the requested SVN filesystem

Please help.

On Wed, Apr 14, 2010 at 1:59 AM, Erik Andersson <kirean_at_gmail.com> wrote:
> The user running apache needs write access to your repository.
> Cheers / Erik
>
> On Tue, Apr 13, 2010 at 10:01 PM, Disc Magnet <discmagnet_at_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:
>>
>> magnet_at_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.
>>
>> magnet_at_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.
>
>
Received on 2010-04-13 23:28:13 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.