<?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>frankly at a glance. &#187; linux</title>
	<atom:link href="http://frankleng.me/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://frankleng.me</link>
	<description>the world according to Frank...</description>
	<lastBuildDate>Tue, 03 Jan 2012 10:19:41 +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>WordPress asks for connection info during upgrade.</title>
		<link>http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/</link>
		<comments>http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 20:35:18 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://frankleng.me/?p=167</guid>
		<description><![CDATA[After migrating all of my sites to the VPS, I noticed WP auto upgrade asks me for FTP login every time I upgrade a plugin. I was a bit puzzled at first because I have never seen that before, and the upgrade process is dramatically slower this way. After googling, I realized that all the [...]]]></description>
			<content:encoded><![CDATA[<p>After migrating all of my sites to the VPS, I noticed WP auto upgrade asks me for FTP login every time I upgrade a plugin.</p>
<p>I was a bit puzzled at first because I have never seen that before, and the upgrade process is dramatically slower this way.</p>
<p>After googling, I realized that all the WP files are now owned by my webroot account and apache no longer has exclusive access to them.</p>
<p>the simple fix was to give apache ownership of the WordPress directory.</p>
<h2><strong>#: chown -R   apache-user: wordpressRoot</strong></h2>
<p><strong><span id="more-167"></span></strong></p>
<p><strong><em>This does pose a potential security risk. However, this already exists on every WP site that has auto upgrade working. Most shared hosts will run the apache instance under your username so you don&#8217;t see this problem.</em></strong></p>
<p><strong><em>If you are concerned about security, I would suggest you leave the permissions as they are&#8230; or use <a href="http://drupal.org">Drupal</a>. =p</em></strong></p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffrankleng.me%2F2010%2F02%2F21%2Fwordpress-asks-for-connection-info-during-upgrade%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=100px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/"></g:plusone>
			</div>
			<div style="float:left; width:100px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/"  data-text="WordPress asks for connection info during upgrade." data-count="horizontal" data-via="frankleng">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><img src="http://frankleng.me/?ak_action=api_record_view&id=167&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://frankleng.me/2010/02/21/wordpress-asks-for-connection-info-during-upgrade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

