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

RE: question re: apache permissions and svn

From: david chinn <dchinn_at_nwlink.com>
Date: 2007-08-24 20:06:50 CEST

Error_log reports the following:


[Fri Aug 24 10:58:31 2007] [error] [client] Could not create
activity /svn/TestRepo/!svn/act/112d9ba5-7d38-da4f-8f74-c27b2e8482cb. [500,

[Fri Aug 24 10:58:31 2007] [error] [client] could not begin a
transaction [500, #13]

[Fri Aug 24 10:58:31 2007] [error] [client] Can't create
directory '/var/www/svn/TestRepo/db/transactions/1-1.txn': Permission denied
[500, #13]

[root@gorsky logs]#


Doing some further research, it seems to have something to do with SELinux
on fedora. Someone (helpfully) suggested running selinux in 'permissive'
mode, and then checkins happened normally; now I'm trying to figure out what
security tag to give it so that SELinux can run in 'enforced' mode, and
still write to the svn repositories.


It doesn't seem to be 'httpd_sys_script_rw_t', so if anyone knows any


Thanks in advance for any help






From: Boris Yazlovitsky [mailto:borisyaz@gmail.com]
Sent: Friday, August 24, 2007 9:27 AM
To: users@subversion.tigris.org
Subject: Re: question re: apache permissions and svn


assuming that apache is loading and configured with mod_dav_svn...
what do the apache log files say?

On 8/24/07, david chinn <dchinn@nwlink.com> wrote:



I've set up a new box with an installation of fedora 7, apache and


From a windows box, using Tortoise SVN, I can see the repositories I
migrated there.


However, I can't seem to do write operations to the server. for instance,
import into a new, test repository.


Error message from tortoise is:


            "Error Can't create directory
'/usr/local/svn/TestRepo/db/transactions/0-1.txn': Permission denied


Httpd runs as apache/apache (default), and I first tried just setting
ownership of /usr/local/TestRepo to that.

When that didn't work, I tried chmod -R 777 to the TestRepo. that didn't
work either.


I'm sure it's a really easy problem, but having been working mostly in
Windows, I'm stymied.


Can anyone help?




Received on Fri Aug 24 20:06:01 2007

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.