<?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>Digivation Hack Central &#187; Wordpress</title>
	<atom:link href="http://blog.digivation.com.au/category/category/nifty-hacks/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.digivation.com.au</link>
	<description>Tech Information about various subjects</description>
	<lastBuildDate>Fri, 23 Apr 2010 02:44:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress Install Direct Filesystem Hack</title>
		<link>http://blog.digivation.com.au/category/nifty-hacks/wordpress</link>
		<comments>http://blog.digivation.com.au/category/nifty-hacks/wordpress#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:27:43 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.digivation.com.au/?p=78</guid>
		<description><![CDATA[I use

chgrp -R www-data wp-content
chown -R g+w wp-content

To make this work with wordpress, edit wp-admin/includes/file.php in function get_filesystem_method() and comment out

if ( getmyuid() == fileowner($temp_file) )

to

#if ( getmyuid() == fileowner($temp_file) )

If the test file can be written, who cares if it is not owned by the webserver.
You will have to reapply this edit every time [...]]]></description>
			<content:encoded><![CDATA[<p>I use<br />
<code><br />
chgrp -R www-data wp-content<br />
chown -R g+w wp-content<br />
</code></p>
<p>To make this work with wordpress, edit <em>wp-admin/includes/file.php</em> in function <em>get_filesystem_method()</em> and comment out<br />
<code><br />
if ( getmyuid() == fileowner($temp_file) )<br />
</code><br />
to<br />
<code><br />
#if ( getmyuid() == fileowner($temp_file) )<br />
</code></p>
<p>If the test file can be written, who cares if it is not owned by the webserver.</p>
<p>You will have to reapply this edit every time wordpress core is updated.</p>
<p>Ref: <a href="http://www.chrisabernethy.com/why-wordpress-asks-connection-info/">why-wordpress-asks-connection-info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digivation.com.au/category/nifty-hacks/wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
