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

Re: Error : mod_dav_svn.so can't be load by apache...

From: Flap Flap <flapflaplist_at_kilooctet.net>
Date: Wed, 25 Jun 2008 11:38:51 +0200

Thanks for the explanation on Reply-To !

Now my mod_dav_svn.so is ok.
So I've made my first checkout !!!
Great, but I can't commit.

Error log :

mkdir -m "Initial import." http://ksXXXXXX.kimsufi.com/svn/XXXX
    Permission denied
svn: Can't create directory '/var/svn/repos/db/transactions/0-1.txn':
Permission denied

It seems I've got trouble witrh premission. I follow the instruction here
http://gentoo-wiki.com/Subversion/Web_DAV.

Creating repositories for apache

Apache needs rw access to the repository directory. This can be achieved in
two ways.

   - Changing owner and/or group of the repository
      1. Change owner of the repository
      chown apache:apache /var/svn/repos/test -R
   - Adding apache to svnusers group
      1. Create group svnusers
      groupadd svnusers
      2. Add apache to this group
      usermod -G svnusers -a apache
      3. Change group of the repository
      chgrp svnusers /var/svn/repos -R
      4. Give write access for the group
      chmod g+w /var/svn/repos -R

I've checked my repos, apache is owner and svnusers is group owner...
Received on 2008-06-25 11:39:18 CEST

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.