[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-25 00:49:23 CEST

I didn't realize that faq was there; however, that was what the context was
to start with. Have you (or anyone else) used that type successfully?

I'm getting the same error message after changing to the reference context.

Is there something additional I have to do? Like, maybe set some switch in
selinux itself?

thanks

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
Sent: Friday, August 24, 2007 1:35 PM
To: david chinn
Cc: users@subversion.tigris.org
Subject: Re: question re: apache permissions and svn

On Aug 24, 2007, at 13:06, david chinn wrote:

> [Fri Aug 24 10:58:31 2007] [error] [client 192.168.1.49] Could not
> create activity /svn/TestRepo/!svn/act/112d9ba5-7d38-da4f-8f74-
> c27b2e8482cb. [500, #0]
>
> [Fri Aug 24 10:58:31 2007] [error] [client 192.168.1.49] could not
> begin a transaction [500, #13]
>
> [Fri Aug 24 10:58:31 2007] [error] [client 192.168.1.49] 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 better.

It's in the FAQ:

http://subversion.tigris.org/faq.html#reposperms

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 25 00:52:20 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.