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

Re: SVN under Apache looking in .subversion/servers

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-09-28 10:14:04 CEST

On Wed, Sep 28, 2005 at 08:32:53AM +0200, Goddard Lee wrote:
> I'm having problems with the perl bindings, SVN::Client, and with 'svn'
> generally, though Apache 2.0. When I run the little test script below as
> 'nobody', as my httpd would, it fails on both counts with the message:
>
> Bogus filename: Can't open config file '/root/.subversion/servers'

> [root@bdms t]# sudo -u nobody perl ctx.mini.t

I don't know much about the bindings, but you might want to try passing
the -i flag (simulate initial login) to sudo:

# sudo -i -u nobody perl ctx.mini.t

which will set up the environment ($HOME, etc) for nobody.

This will stop svn from looking in /root/.subversion for configuration
files, though it may not fix the problem you're having, because nobody
typically can't write to their home directory by default.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 28 10:14:58 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.