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

Re: Cannot launch svnserver as non root user!

From: Pep <Pep_at_Walker.me.uk>
Date: 2004-08-07 12:55:44 CEST

On Saturday 07 August 2004 11:28, Pep wrote:
> On Saturday 07 August 2004 11:06, Pep wrote:
> > I cannot get the svn server to run as a non root user!
> >
> > I have setup the configuration as follows
> > anon access set to none
> > auth access set to write
> >
> > The repo is owned by svuser:svgroup with the appropriate sticky bit set
> > on the db sub directory.
> >
> > When I run the svn server from xinetd using the above configuration as
> > root user, the svn server asks me to login for the user name but when I
> > run the server from xinetd as svuser user with the same configuration I
> > keep getting the "svn: Malformed network data" error message!
> >
> > I have setup the svuser user to use bash as it's shell and have specified
> > a obscure password so nobody can log in.
> >
> > Any ideas how I solve this problem?
>
> <snip>
>
> When I telnet to the localhost on port 3690 I get this output
>
> [pep]$ telnet localhost 3690
> Trying 127.0.0.1...
> Connected to myrepo (127.0.0.1).
> Escape character is '^]'.
> /bin/bash: /root/.bashrc: Permission denied
> ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) ) Connection closed by
> foreign host.
>
> So what's going on here?
>
> Cheers,
> Pep.
>
<snip>

So I did the following on /root/

chmod o+rx /root/

then when I try to do the svn checkout I get an error message that states
permission denied when trying to access /usr/local/subversion/db but the
permission bits are correct for the for the user and group that svnserve is
running under!

So I am confused as to where my problem lies. The above test kinda confirms
that for some reason the svrsn user is trying to execute /root/.bashrc but
having done that it still cannot access the db files which it owns?

Any ideas?

Cheers,
Pep.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 7 12:57:05 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.