When I try to import a project into my subversion repository via http, I get this error:
Can't create directory '/usr/local/svn/myproj/db/transactions/0-1.txn': Permission denied
I set the httpd LogLevel to debug and got this at the end of the output:
[Wed Feb 17 23:56:33 2010] [error] [client 22.214.171.124] Could not create activity /svn/myproj/!svn/act/9c0a8481-8edd-4be0-be2d-164c700616ba. [500, #0] [Wed Feb 17 23:56:33 2010] [error] [client 126.96.36.199] could not begin a transaction [500, #13] [Wed Feb 17 23:56:33 2010] [error] [client 188.8.131.52] Can't create directory '/usr/local/svn/myproj/db/transactions/0-1.txn': Permission denied [500, #13]
Here is the relevant section of my httpd.conf file:
<Location /svn> DAV svn SVNParentPath /usr/local/svn AuthType Basic AuthName "Subversion Repositories" AuthUserFile /etc/svn-auth-conf Require valid-user </Location>
I am trying to import a project from NetBeans using the URL
I am using CentOS linux.
The fixes for this problem I have found online are to set the repository (and enclosing folder) to belong to the apache user and modify the permissions of the same. I have tried the following without success:
$ chown -R apache.apache /usr/local/svn $ chmod -R 755 /usr/local/svn $ service httpd restart
I can't figure out what else to try. Please help!