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

RE: Re: Issue with Apache2 SVN access

From: Nicklas Norling <nicklas.norling_at_ifsab.se>
Date: 2004-06-21 16:03:27 CEST

> -----Original Message-----
> From: Roy Nasser [mailto:rnasser@compugraf.com.br]
> Sent: den 21 juni 2004 15:55
> To: users@subversion.tigris.org
> Subject: RES: Re: Issue with Apache2 SVN access
>
>
> Anyone have any ideas??? I have tried chown to user nobody
> (chown -R nobody.nobody *), and even went as far as trying to
> chmod 777 all files and all subdirs... no luck...
>
> I have run the db recovery and still nothing... Any ideas?
> Is there some sort of DB authentication that I must look
> into? (svnserve.conf has write access on anon)...
>
> Here is the HTTP error log once again...
>
> [Mon Jun 21 10:50:51 2004] [error] [client 172.20.0.161]
> (20014)Error string not specified yet: Berkeley DB error
> while opening environment for filesystem /var/
> roy/repos/db:\nPermission denied [Mon Jun 21 10:50:51 2004]
> [error] [client 172.20.0.161] Could not fetch resourc e
> information. [500, #0] [Mon Jun 21 10:50:51 2004] [error]
> [client 172.20.0.161] Could not open the requ ested SVN
> filesystem [500, #160029] [Mon Jun 21 10:50:51 2004] [error]
> [client 172.20.0.161] (13)Permission
> denied:
> Could not open the requested SVN filesystem [500, #160029]
<snip>

Not knowing what server you are using I'm refering to Redhat linux
9.0 and David's RPMs.
After a default install I created a fix_permissions scripts that
does "chown -R apache.apache *", in your case effectively
"chown -R apache.apache /var/roy/repos". That is assuming your
webserver is running as the user and group apache of course.

This was the only thing I needed to do. I also noted that every
access using the file:// protocol resulted in a reset of ownership
of the database to that of the user I was logged in as. I draw the
conclusion (right or wrong) that file:// could not be used together
with http:// access via apache+DAV.

From this info I hope you are able to find your problem. Because
it really DOES work :)

Good luck to you!
/Nicke

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 21 16:04:46 2004

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.