<?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>David&#039;s technobabble &#187; Red Hat</title>
	<atom:link href="http://bable.cybermarshall.com/tag/red-hat/feed/" rel="self" type="application/rss+xml" />
	<link>http://bable.cybermarshall.com</link>
	<description>David&#039;s thoughts about this and that</description>
	<lastBuildDate>Fri, 22 Jan 2010 18:29:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running WordPress on Red Hat Enterprise 5.2 with the selinux targeted policy enabled</title>
		<link>http://bable.cybermarshall.com/2008/11/26/using-wordpress-on-red-hat-enterprise-52-with-the-selinux-targeted-policy-enabled/</link>
		<comments>http://bable.cybermarshall.com/2008/11/26/using-wordpress-on-red-hat-enterprise-52-with-the-selinux-targeted-policy-enabled/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 20:42:09 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[selinux]]></category>

		<guid isPermaLink="false">http://bable.cybermarshall.com/?p=56</guid>
		<description><![CDATA[If you run wordpress on Red Hat Enterprise 5.2 with the selinux targeted policy enabled, some of the wordpress features will not work and some wordpress plugins do not operate correctly. After some review of the targeted policy, I made some changes to the permissions of several folders:


I manually created the uploads folder in my [...]]]></description>
			<content:encoded><![CDATA[<p>If you run wordpress on Red Hat Enterprise 5.2 with the selinux targeted policy enabled, some of the wordpress features will not work and some wordpress plugins do not operate correctly. After some review of the targeted policy, I made some changes to the permissions of several folders:</p>
<p><span id="more-56"></span></p>
<ol>
<li>I manually created the uploads folder in my wordpress <em>wp-content</em> folder .<br />
    &nbsp;</li>
<li>I changed the ownership of my wordpress directories and subdirectories to be owned by the apache user and apache group. I should have done this from the beginning to be secure and clean. Shame on me <img src='http://bable.cybermarshall.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />
<p>    <em>chown -Rf apache-user:apache-group [mywordpress base folder]</p>
<p>    </em></li>
<li>I changed the Selinux security context of the following folders to &quot;httpd_tmp_t&quot;: plugins, themes and uploads<br />
    <em>chcon -Rf -t httpd_tmp_t plugins</em><br />
    <em>chcon -Rf -t httpd_tmp_t themes</em><br />
    <em>chcon -Rf -t httpd_tmp_t uploads</em></li>
</ol>
<p>With these changes I&#8217;m able to upload and to run plugin central and save changes to my themes.</p>
<p>As I learn more, I&#8217;ll be updating this post.</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-5633552336244805";
google_ad_slot = "5649858591";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://bable.cybermarshall.com/2008/11/26/using-wordpress-on-red-hat-enterprise-52-with-the-selinux-targeted-policy-enabled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
