I'm trying to set up a Subversion server. It's on Fedora with SELinux enabled. I created a repository, and configured mod_dav_svn in Apache for remote access. svn ls
works as expected - I get prompted for a password, and I see that there are no files in the repo. But when I try to svn import
, I get an error. From the Apache error_log:
[Wed Jan 30 18:03:09 2013] [error] [client 127.0.0.1] could not begin a transaction [500, #13]
[Wed Jan 30 18:03:09 2013] [error] [client 127.0.0.1] Can't open file '/var/svn/testing/db/txn-current-lock': Permission denied [500, #13]
Apache should be able to read and write this file, so I have no idea what's wrong:
$ ls -Z /var/svn/testing/db/txn-current-lock
-rw-rw-r--. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 /var/svn/testing/db/txn-current-lock