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

Re: [LINUX] How to launch svnserve process with another user than 'root' ?

From: Tuncer Ayaz <tuncer.ayaz_at_gmail.com>
Date: 2006-08-30 20:30:47 CEST

On 8/30/06, Anthony Muller <Anthony.Mueller@hyperoffice.fr> wrote:
>
> > I don't know anything about Linux ... But I need to launch svnserve
> > process (using xinetd deamon) with another user than 'root'.
> >
> > What must I change to do that?
>
>
> > sample config which runs svnserve as user 'svn'
>
> > /etc/xinet.d/svn
> > service svn
> > {
> > socket_type = stream
> > protocol = tcp
> > user = svn
> > wait = no
> > disable = no
> > server = /usr/bin/svnserve
> > server_args = -i -r /srv/svn
> > port = 3690
> > }
>
> Must I change anything on subversion's repositories files ?

You have to change ownership of the repository (files, directories)
to the user svn.
To do this for this exact sample config (assuming svn belongs to his
own group called svn as is the case on Debian GNU/Linux):
$ chown -r svn:svn /srv/svn

Just in cause you are really new to Linux and Unix in general I
suggest you learn the basics first before doing something wrong
as understanding the whole picture is (always) important.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 30 20:37:55 2006

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.