<?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>Blue Horn &#187; asp</title>
	<atom:link href="http://bluehorn.co.nz/topic/asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluehorn.co.nz</link>
	<description>New Zealand Web Design &#38; Development (PHP 5, MySQL, Symfony Framework, Apache, Linux)</description>
	<lastBuildDate>Tue, 29 Nov 2011 22:23:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Microsoft VBScript runtime (0x800A0046) Permission denied</title>
		<link>http://bluehorn.co.nz/2009/12/05/microsoft-vbscript-runtime-0x800a0046-permission-denied/</link>
		<comments>http://bluehorn.co.nz/2009/12/05/microsoft-vbscript-runtime-0x800a0046-permission-denied/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 01:22:30 +0000</pubDate>
		<dc:creator>Sid</dc:creator>
				<category><![CDATA[asp]]></category>

		<guid isPermaLink="false">http://bluehorn.co.nz/2009/12/05/microsoft-vbscript-runtime-0x800a0046-permission-denied/</guid>
		<description><![CDATA[The answer is run 'cacls' from DOS command line. You can just type 'cacls' and see the command help. Example of usage: cacls C:\Inetpub\wwwroot\mypublicfile.txt /E /G Guest:F C:\Inetpub\wwwroot\mypublicfile.txt is the file, but we can also specify a folder Guest is the user we want to give access /E means we add to existing file security [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The answer is run 'cacls' from DOS command line. You can just type 'cacls' and see the command help.</p>
<p>Example of usage:</p>
<p>cacls C:\Inetpub\wwwroot\mypublicfile.txt /E /G Guest:F
<ul>
<li>C:\Inetpub\wwwroot\mypublicfile.txt is the file, but we can also specify a folder</li>
<li>Guest is the user we want to give access</li>
<li>/E means we add to existing file security settings. Without /E, the system will delete everyone else's access.</li>
<li>/G must exists before user:access</li>
<li>F means full access, R means read, W means write</li>
</ul>
<p>I got this info from <a target="_blank" href="http://bytes.com/topic/asp-classic/answers/53795-file-permission-problem">this thread</a> when trying to solve permission denied problem of my ASP script when trying to delete a file.</p>
<p>Happy coding!</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=9c363669-d624-8692-b808-b7e521295d9a" /></div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://bluehorn.co.nz/2009/12/05/microsoft-vbscript-runtime-0x800a0046-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

