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

Re: Subversion Access using "http" method

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-07 23:29:21 CEST

On May 7, 2006, at 23:09, Muthaiah Ramanathan wrote:

>> Sounds like the repository is not owned by Apache.
>> The repository must at
>> the very least be write-able for the Apache process,
>> better if it is owned
>> by Apache.
>
> Ok, I have now created a new repository using svnadmin
> (of v1.3.0) like this:
>
> mkdir /lnx_data/repos_holder
> cd /lnx_data/repos_holder
> svnadmin create test_repo_httpd
>
> Now all these were run as user "root" and Apache
> server is also started with user "root".

Are you sure? Usually, Apache starts as root, but then switches to a
less-privileged user such as "nobody", "apache" or "www". If so, it
is that user that needs to be able to write to the repository files.

> After this I modified the httpd.conf and re-started
> the web server too.
>
> Now accessing the repository gives the same problem:
>
> svn ls http://localhost/svn/test_repo_httpd
> svn: PROPFIND request failed on '/svn/test_repo_httpd'
> svn: Can't set position pointer in file
> '/lnx_data/repos_holder/test_repo_httpd/db/revs/0':
> Invalid argument
>
> Am I missing anything here ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 7 23:30:24 2006

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.