<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments for Nicholas Orr</title>
	<atom:link href="http://nicholasorr.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicholasorr.com/blog</link>
	<description>The blog of Nicholas Orr. Aussie IT Guy Extraordinaire, no really :P</description>
	<pubDate>Sat, 04 Feb 2012 06:21:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Lance Fordham</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-234</link>
		<dc:creator>Lance Fordham</dc:creator>
		<pubDate>Thu, 05 Jan 2012 04:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-234</guid>
		<description>I think my scenario is the same as yours.  &lt;br&gt;&lt;br&gt;I am running nginx under user "nginx", and this user is in the group "nginx".  &lt;br&gt;&lt;br&gt;I am running PHP as a Fastcgi process and php is running as user "website", and this user is in the group "website".  &lt;br&gt;&lt;br&gt;The website files are located in the directory "/home/website" and the "website" user is the owner of this directory.   &lt;br&gt;&lt;br&gt;I could execute any PHP file from any subdirectory, but I could not execute/read/write any other file from any other subdirectory other than the /home/website directory because nginx did not have access to those directories and files.&lt;br&gt;&lt;br&gt;My solution is to set permissions of the subdirectories that I wish to give nginx access to, to 0711 and set the permissions to all of the files in the subdirectories to 0755.  It works perfectly!</description>
		<content:encoded><![CDATA[<p>I think my scenario is the same as yours.  </p>
<p>I am running nginx under user &#8220;nginx&#8221;, and this user is in the group &#8220;nginx&#8221;.  </p>
<p>I am running PHP as a Fastcgi process and php is running as user &#8220;website&#8221;, and this user is in the group &#8220;website&#8221;.  </p>
<p>The website files are located in the directory &#8220;/home/website&#8221; and the &#8220;website&#8221; user is the owner of this directory.   </p>
<p>I could execute any PHP file from any subdirectory, but I could not execute/read/write any other file from any other subdirectory other than the /home/website directory because nginx did not have access to those directories and files.</p>
<p>My solution is to set permissions of the subdirectories that I wish to give nginx access to, to 0711 and set the permissions to all of the files in the subdirectories to 0755.  It works perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Saju Sukumar</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-233</link>
		<dc:creator>Saju Sukumar</dc:creator>
		<pubDate>Sun, 27 Nov 2011 14:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-233</guid>
		<description>Yeah ..that worked...I was breaking my head to solve this issue...just changing the user in conf worked.... (normally its a comment with nobody as username)&lt;br&gt;&lt;br&gt;as &lt;br&gt;&lt;br&gt;user user_name; &lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Yeah ..that worked&#8230;I was breaking my head to solve this issue&#8230;just changing the user in conf worked&#8230;. (normally its a comment with nobody as username)</p>
<p>as </p>
<p>user user_name; </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Wguerrero42</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-232</link>
		<dc:creator>Wguerrero42</dc:creator>
		<pubDate>Tue, 11 Oct 2011 20:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-232</guid>
		<description>I am having the same issue, but this info is helpful thanks.&lt;br&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>I am having the same issue, but this info is helpful thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by bn1</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-230</link>
		<dc:creator>bn1</dc:creator>
		<pubDate>Fri, 29 Apr 2011 05:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-230</guid>
		<description>or you just have to check if you&#39;re accessing the right path :D (thanks nginx log) ..I thought, what a jerk I am, but I was really accessing wrong path due missing "rewrite" rule, easing the "/static/" path (it was accessing "/var/www/static/some.site/static/" rather than correct one "/var/www/static/some.site/")</description>
		<content:encoded><![CDATA[<p>or you just have to check if you&#39;re accessing the right path :D (thanks nginx log) ..I thought, what a jerk I am, but I was really accessing wrong path due missing &#8220;rewrite&#8221; rule, easing the &#8220;/static/&#8221; path (it was accessing &#8220;/var/www/static/some.site/static/&#8221; rather than correct one &#8220;/var/www/static/some.site/&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Tower Joo</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-229</link>
		<dc:creator>Tower Joo</dc:creator>
		<pubDate>Fri, 18 Feb 2011 08:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-229</guid>
		<description>Make sure the path tree to be readable by nginx, which will fix the permission issue.</description>
		<content:encoded><![CDATA[<p>Make sure the path tree to be readable by nginx, which will fix the permission issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by razvan dimescu</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-228</link>
		<dc:creator>razvan dimescu</dc:creator>
		<pubDate>Tue, 08 Feb 2011 12:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-228</guid>
		<description>yup, had the same problem. I solved it by changing the user that nginx was runing to the user that created the files from home. You need access starting with root "/"</description>
		<content:encoded><![CDATA[<p>yup, had the same problem. I solved it by changing the user that nginx was runing to the user that created the files from home. You need access starting with root &#8220;/&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updated Scanty on CouchDB to Work w/ 0.9.0a by cigar reviews</title>
		<link>http://nicholasorr.com/blog/2009/03/05/updated-scanty-on-couchdb-to-work-w-090a/comment-page-1/#comment-227</link>
		<dc:creator>cigar reviews</dc:creator>
		<pubDate>Fri, 28 Jan 2011 14:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=174#comment-227</guid>
		<description>NICHOLAS Orr will follow in the path of cycling&#39;s elite when he pedals 62km from Balhannah to Strathalbyn in the Mutual Community Challenge Tour. ...</description>
		<content:encoded><![CDATA[<p>NICHOLAS Orr will follow in the path of cycling&#39;s elite when he pedals 62km from Balhannah to Strathalbyn in the Mutual Community Challenge Tour. &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Gabriel Koen</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-226</link>
		<dc:creator>Gabriel Koen</dc:creator>
		<pubDate>Tue, 25 Jan 2011 04:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-226</guid>
		<description>Thanks, you saved me from smashing my head against the desk.</description>
		<content:encoded><![CDATA[<p>Thanks, you saved me from smashing my head against the desk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by miko</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-225</link>
		<dc:creator>miko</dc:creator>
		<pubDate>Fri, 14 Jan 2011 22:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-225</guid>
		<description>I know this is old, but I agree with Kyle, although based upon my tests the parent directories need only have the world-executable flag set (i.e. 701 would work).   They don&#39;t need to be owned by nginx user.  &lt;br&gt;&lt;br&gt;So if I&#39;m serving files in /var/foo/bar/baz/public, all the parent directories need to have the world-executable flag set or else you&#39;ll get permission denied errors.  &lt;br&gt;&lt;br&gt;Then the files in /var/foo/bar/baz/public need to be world readable (assuming the group owner is not in nginx&#39;s group, and nginx is also not the owner of the files in /public).  So make them world-readable and nginx will kindly serve them to the public.    &lt;br&gt;&lt;br&gt;I was just playing around with a static file testing this, so before you go applying to all your sites, you probably want to test more thoroughly, but hopefully this helps out others in the future who run into this error.</description>
		<content:encoded><![CDATA[<p>I know this is old, but I agree with Kyle, although based upon my tests the parent directories need only have the world-executable flag set (i.e. 701 would work).   They don&#39;t need to be owned by nginx user.  </p>
<p>So if I&#39;m serving files in /var/foo/bar/baz/public, all the parent directories need to have the world-executable flag set or else you&#39;ll get permission denied errors.  </p>
<p>Then the files in /var/foo/bar/baz/public need to be world readable (assuming the group owner is not in nginx&#39;s group, and nginx is also not the owner of the files in /public).  So make them world-readable and nginx will kindly serve them to the public.    </p>
<p>I was just playing around with a static file testing this, so before you go applying to all your sites, you probably want to test more thoroughly, but hopefully this helps out others in the future who run into this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nginx (engine X) - What a Pain in the BUM! [13: Permission denied] by Kyle</title>
		<link>http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-the-bum/comment-page-1/#comment-223</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Thu, 26 Aug 2010 08:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasorr.com/blog/?p=42#comment-223</guid>
		<description>The problem is that nginx requires the whole tree to be readable and not just where your root starts in nginx.conf. So "chmod -R 777 /var" would be the brute force solution.&lt;br&gt;&lt;br&gt;The reason running nginx as site fixed it for you is probably because site was the owner for /var.</description>
		<content:encoded><![CDATA[<p>The problem is that nginx requires the whole tree to be readable and not just where your root starts in nginx.conf. So &#8220;chmod -R 777 /var&#8221; would be the brute force solution.</p>
<p>The reason running nginx as site fixed it for you is probably because site was the owner for /var.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
