<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>榆树网 &#187; svnadmin</title>
	<atom:link href="http://www.wenzk.com/archives/tag/svnadmin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenzk.com</link>
	<description>http://www.wenzk.com</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:57:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>解决：Can&#8217;t open file &#8216;/root/.subversion/servers&#8217;:  Permission denied错误</title>
		<link>http://www.wenzk.com/archives/470</link>
		<comments>http://www.wenzk.com/archives/470#comments</comments>
		<pubDate>Thu, 26 Nov 2009 15:18:38 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svnadmin]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=470</guid>
		<description><![CDATA[This problem occurs as an effect of apache beeing run as root. Though commands are still issued by the apache 'http' user, the home directory are for some reason still '/root'. This results in the error "svn: warning: Can't open file '/root/.subversion/servers': Permission denied" beeing logged in /var/log/http/error_log, and no svnrepo are created. The obvious [...]]]></description>
			<content:encoded><![CDATA[<pre>This problem occurs as an effect of apache beeing run as root.
Though commands are still issued by the apache 'http' user, the home
directory are for some reason still '/root'.
<span id="more-470"></span>
This results in the error
"svn: warning: Can't open file '/root/.subversion/servers':
Permission denied"
beeing logged in /var/log/http/error_log, and no svnrepo are
created.

The obvious workaround to this, is to issue a command like 'export
HOME=/srv/svn/' or 'export HOME=/home/svn/' before svnadmin is
called.

My current workaround is the stupid simple:
$cfg['svnadmin_path'] = 'export HOME=/srv/svn; '.'svnadmin';

A sufficient fix for this issue migth be just to mention this in the
SyncSvn documentation. (I'll be happy to compile a small patch for
this)

I have read about similar issues taking place on Redhat and Fedora
with php scripts trying to call svnadmin.

From: http://projects.ceondo.com/p/indefero/issues/155/</pre>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1402" title="Zimbra LDAP为其他应用提供验证服务之PHP版本">Zimbra LDAP为其他应用提供验证服务之PHP版本</a> (0)</li><li><a href="http://www.wenzk.com/archives/1119" title="如何快速将CentOS5 PHP版本升级至5.2">如何快速将CentOS5 PHP版本升级至5.2</a> (0)</li><li><a href="http://www.wenzk.com/archives/670" title="几个PHP关于URL和eMail分析方面的类">几个PHP关于URL和eMail分析方面的类</a> (0)</li><li><a href="http://www.wenzk.com/archives/498" title="Subversion or Git ">Subversion or Git </a> (0)</li><li><a href="http://www.wenzk.com/archives/461" title=" Path-Based Authorization by mod_authz_svn"> Path-Based Authorization by mod_authz_svn</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/470/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

