Even if you start apache as "root", it usually runs as user "nobody". Try:
chown -R nobody:nobody /lnx_data/repos_holder
Then restart apache & try accessing it again.
On 5/7/06, Ryan Schmidt <subversion-2006q2@ryandesign.com> wrote:
> 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
>
>
---------------------------------------------------------------------
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:41:26 2006