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

Re: Apache2 - Subversion configuration

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-03 15:05:23 CEST

On Jul 3, 2006, at 15:00, Keith Rogers wrote:

>>> Okay, that seemed to be the user permissions - some combination I
>>> hadn't tried! Now I get the following message:
>>>
>>> <D:error>
>>> <C:error/>
>>> <m:human-readable errcode="2">
>>> Could not open the requested SVN filesystem
>>> </m:human-readable>
>>> </D:error>
>>>
>>> I've set the permissions on the repository to be the same as for
>>> the parent folders (i.e. the same as the change that switched me
>>> from getting generic http 403 errors to this kind)
>>
>> And there is a directory /srv/svn/repos/project on your hard drive?
>> You created it with "svnadmin create /srv/svn/repos/project"? It does
>> sound like that's what you're wanting.
>>
>> On the off chance that you're in fact wanting to access the
>> repository /srv/svn/repos, you would presumably want:
>>
>> <Location /repos>
>> DAV svn
>> SVNPath /srv/svn/repos
>> </Location>
>>
>> Regardless, Steve's suggestion about the Alias directive for /repos
>> is also worth investigating. Why do you have that? It looks like
>> you're maybe doing a directory listing of all repositories? If so,
>> are you aware of SVNParentPath and the Subversion 1.3+ directive
>> SVNListParentPath?
>
> Yes, I'd created the repository at /srv/svn/repos/project using
> the svnadmin command.
>
> The alias command was part of the example file I was using - I've
> removed it and the directory thing now.
>
> I'm fairly sure that the problem I have now (error code 2 - unable
> to open SVN filesystem) is due to file permissions, but even if I
> set full access to everyone, it still doesn't work. I've made sure
> that the repository is ok by using the svnlook command, and that
> seems ok, so I can't think what else it could be....

I don't recall what OS you're using... If you're using the SELinux
enhancement, this may be relevant:

http://subversion.tigris.org/faq.html#reposperms

Does the Apache error log have anything more interesting to say?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 3 15:06:57 2006

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