[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: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Wed, 25 Jun 2008 13:01:18 -0500

On Jun 25, 2008, at 7:36 AM, Flap Flap wrote:

> 2008/6/25 Flap Flap <flapflaplist_at_kilooctet.net>:
>
>> 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
>> Change owner of the repository
>> chown apache:apache /var/svn/repos/test -R
>> Adding apache to svnusers group
>> Create group svnusers
>> groupadd svnusers
>> Add apache to this group
>> usermod -G svnusers -a apache
>> Change group of the repository
>> chgrp svnusers /var/svn/repos -R
>> 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...
>
> Ok resolved, apache use the nobody user... :)

Glad you got it working!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-25 20:01:47 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.