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

RE: 301 with mod_dav / https

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 12 Jan 2011 17:30:50 -0000

> -----Original Message-----
> From: Jehan PROCACCIA [mailto:Jehan.Procaccia_at_it-sudparis.eu]
> Sent: 12 January 2011 17:03
> To: fuzzy_4711_at_gmx.de
> Cc: Ryan Schmidt; users_at_subversion.apache.org
> Subject: Re: 301 with mod_dav / https
>
> Le 12/01/2011 15:46, fuzzy_4711 a écrit :
> >
> >
> >> Do apache needs to have RW on /var/svn/disi/* ?
> >> for now it is user svn only
> > Yup, you got it.
> > Put your apache user into group svn. And give those rights
> recursive to
> > your repository directory.
> >
> > drwxrwsr-x 7 apache svn ..... repository/
> >
> > -fuz
> I was wondering in the details of write access to the
> repository subdirs
> and files
> I'am afraid of doing a "chmod -R 775 repository/*" for
> security reasons
> ! perhaps I'am wrong ?
>
> I fine grained permissions on repo/db , seems to work this way:
>
> find /var/svn/disi/disi_pj2/db/ -type d -exec chmod 775 {} \;
> find /var/svn/disi/disi_pj2/db/ -type f -exec chmod 664 {} \;
>
> is there a recommended chmod to be done on the repo structure ?
>
You could try reading the wiki:-

http://trac.edgewall.org/wiki/TracSubversion#GettingSubversionworking

...especially the bit "Fix permissions to the repository:"

~ mark c
Received on 2011-01-12 18:31:32 CET

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.