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

Re: Bug in SVN::Client

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-12-14 12:44:47 CET

John Peacock wrote:
> I went to install the bleading edge SVN::Web (now with SVN::Client
> support for remote repositories) and it worked fine in tests, but fails
> when run as a mod_perl script. I've now confirmed that the failure is
> actually the fault of SVN::Client.
> Attached is a script which needs to be run like this:
> $ sudo ./test
> which results in the following error message:
>> Permission denied: Can't open file '/root/.subversion/servers':
>> Permission denied at ./test line 26

I can't replicate this.

I'm using sudo I ran a total of four tests. The first two are
with Subversion 1.4.0, one with sudo compiled with the --shell-sets-home
option and one without. Both times the command completed successfully (and
dumped the contents of the ::Client object).

Then I tried the same two tests, but upgraded Subversion to 1.4.2. I got
the same result.

FWIW, http://jc.ngo.org.uk/svnweb/ is running the svn-client code under
mod_perl, with Apache started as root before it switches to the 'www' user,
and it's not exhibiting the problem either. This is in a FreeBSD 4.10 jail
(virtual server).


    /usr/bin/env HOME=/dev/null svn --version

test mentioned in a later message fails as expected.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 14 21:27:52 2006

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