<?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 on: PHP Reading Writing file error. failed to open stream: Permission denied</title>
	<atom:link href="http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/</link>
	<description>Web Development Guide - My Personal Library of Tutorials and Scripts</description>
	<lastBuildDate>Wed, 28 Dec 2011 05:55:24 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/comment-page-1/#comment-6</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 30 Mar 2008 10:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpjavascript.com/?p=372#comment-6</guid>
		<description>I tried to set permissions using the above settings and it always works. But once i was trying to install oscommerce and could not write or modify files.  Hence the installation was giving me a hard time (these things always happens with IIS they say apache is the best).

Anyways the following worked for me:

I selected the directory where the files to be written existed.

Right Click - &quot;All Tasks&quot; - &quot;Permission Wizard&quot; - &quot;Inherit of Security Settings&quot; - &quot;Replace all directory and file permissions&quot; - Next - Next

Note at &quot;Replace all directory and file permissions&quot; you should have the following settings listed:

---------------------------------------------------------------
Administrators have full access to files
Everyone can read files
Everyone can write files
Everyone can execute file
----------------------------------------------------------------

Note: I was installing oscommerce on my local computer so no security hassles if you are doing it online things might be a little different.</description>
		<content:encoded><![CDATA[<p>I tried to set permissions using the above settings and it always works. But once i was trying to install oscommerce and could not write or modify files.  Hence the installation was giving me a hard time (these things always happens with IIS they say apache is the best).</p>
<p>Anyways the following worked for me:</p>
<p>I selected the directory where the files to be written existed.</p>
<p>Right Click &#8211; &#8220;All Tasks&#8221; &#8211; &#8220;Permission Wizard&#8221; &#8211; &#8220;Inherit of Security Settings&#8221; &#8211; &#8220;Replace all directory and file permissions&#8221; &#8211; Next &#8211; Next</p>
<p>Note at &#8220;Replace all directory and file permissions&#8221; you should have the following settings listed:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Administrators have full access to files<br />
Everyone can read files<br />
Everyone can write files<br />
Everyone can execute file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Note: I was installing oscommerce on my local computer so no security hassles if you are doing it online things might be a little different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/comment-page-1/#comment-5</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 30 Oct 2007 10:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpjavascript.com/?p=372#comment-5</guid>
		<description>Try the links below

    * http://www.neowin.net/forum/lofiversion/index.php/t587851.html
    * http://www.phpinsider.com/smarty-forum/</description>
		<content:encoded><![CDATA[<p>Try the links below</p>
<p>    * <a href="http://www.neowin.net/forum/lofiversion/index.php/t587851.html" rel="nofollow">http://www.neowin.net/forum/lofiversion/index.php/t587851.html</a><br />
    * <a href="http://www.phpinsider.com/smarty-forum/" rel="nofollow">http://www.phpinsider.com/smarty-forum/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhu</title>
		<link>http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/comment-page-1/#comment-4</link>
		<dc:creator>Madhu</dc:creator>
		<pubDate>Tue, 30 Oct 2007 06:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpjavascript.com/?p=372#comment-4</guid>
		<description>If i am using XAMPP OR  WAMP Package..How can i set permissions ?</description>
		<content:encoded><![CDATA[<p>If i am using XAMPP OR  WAMP Package..How can i set permissions ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.phpjavascript.com/php-reading-writing-file-error-failed-to-open-stream-permission-denied/comment-page-1/#comment-3</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 25 Sep 2007 10:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpjavascript.com/?p=372#comment-3</guid>
		<description>if you are using linux then just change the folder permissions to 777........

All that fuss is windows ONLY</description>
		<content:encoded><![CDATA[<p>if you are using linux then just change the folder permissions to 777&#8230;&#8230;..</p>
<p>All that fuss is windows ONLY</p>
]]></content:encoded>
	</item>
</channel>
</rss>

