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

FW: can't create directory '/usr/local/svnrepos...'

From: Eugene Luzgin <eluzgin_at_hotmail.com>
Date: Tue, 13 May 2008 19:43:24 +0000

I was struggling for a longest time with the following error message: svn: Commit failed (details follow): svn: Can't create directory '/usr/local/svnrepos/db/transactions/1-1.txn': Permission denied I had SVN installed on RHEL4.I set ownership and permissions on SVN repository for apache user correctly and yet I was still getting permission error.
I was browsing Internet but coudn't find the solution of my problem. Then I accidently stumbled on the source of my problem:It was SELinux: http://en.wikipedia.org/wiki/Security-Enhanced_LinuxSELinux is enabled by default on RHEL4 and denies access for apache daemon to file system. Disabling SELinux removed my problem: echo 0 >/selinux/enforceSee http://www.crypt.gen.nz/selinux/disable_selinux.html for more information. Hope this information will save time and headache for other people. Regards,-Eugene LuzginConsultant at AtexSoft ( http://www.atexsoft.com )

Get Free (PRODUCT) REDô Emoticons, Winks and Display Pics. Check it out!
Get Free (PRODUCT) REDô Emoticons, Winks and Display Pics.
Received on 2008-05-13 21:43:48 CEST

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.