> -----Original Message----- > From: Jehan PROCACCIA [mailto:jehan.procac...@it-sudparis.eu] > Sent: 12 January 2011 17:03 > To: fuzzy_4...@gmx.de > Cc: Ryan Schmidt; users@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