On May 31, 2006, at 18:54, Rick Jones wrote:
> I see this in the Apache error log:
>
> [Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] Could not
> create activity /svn/briefs/!svn/act/19ab434a-1815-0410-b759-
> bce11adaba64. [500, #0]
> [Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] could not
> begin a transaction [500, #13]
> [Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] Can't
> create directory '/svn/briefs/db/transactions/15-1.txn': Permission
> denied [500, #13]
>
> The permissions of /svn/briefs/db/transactions are:
>
> tardy:/var/log/apache2# ls -ld /svn/briefs/db/transactions
> drwxr-sr-x 2 raj raj 4096 2006-05-16 16:17 /svn/briefs/db/
> transactions
>
> I would have expected that after authentication the web server
> would be uid raj? In any event I've not explictly been messing
> about with ownership or permissions.
Unless you've installed something special to do that, the usual
behavior would be that the user under which Apache runs needs to have
read/write permission to the repository.
> Apache runs like this:
>
> tardy:/var/log/apache2# ps -ef | grep ache
> root 18173 1 0 Jan18 ? 00:00:04 /usr/sbin/apache2 -
> k restart
> www-data 30444 18173 0 May30 ? 00:00:00 /usr/sbin/apache2 -
> k restart
> www-data 30436 18173 0 May30 ? 00:00:00 /usr/sbin/apache2 -
> k restart
So the entire repository directory (or at least the dav, db and locks
directories, I think) should be owned by www-data. conf and hooks
could I think still safely be owned by you so that you can make
changes there if you want.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 19:10:08 2006