title: Giving writing permissions for IIS user at Windows 2003 Server
body: <p>I am running a website over <strong>Windows 2003 Server</strong> and <strong>IIS6</strong> and I am having problems to write or delete files in some temporary folder obtaining this kind of warmings:</p>
  
  <blockquote>
    <p>Warning: unlink(C:\Inetpub\wwwroot\cakephp\app\tmp\cache\persistent\myapp_cake_core_cake_): Permission denied in C:\Inetpub\wwwroot\cakephp\lib\Cake\Cache\Engine\FileEngine.php on line 254</p>
  </blockquote>
  
  <p>I went to the <code>tmp</code> directory and at the properties I gave the IIS User the following permissions:</p>
  
  <ul>
  <li>Read &amp; Execute</li>
  <li>List folder Contents</li>
  <li>Read</li>
  </ul>
  
  <p>And it still showing the same warnings.</p>
  
  <p>When I am on the properties window, if I click on <code>Advanced</code> the IIS username appears twice. </p>
  
  <p>One with <strong>Allow</strong> type and <strong>read  &amp; execute</strong> permissions and the other with <strong>Deny</strong> type and <strong>Special</strong> permissions.</p>
  
  <p>My question is:
  Should I give this user not only the Read &amp; Execute permissions but also this ones?:</p>
  
  <ul>
  <li>Create Attributes</li>
  <li>Create Files/ Write Data</li>
  <li>Create Folders/ Append Data</li>
  <li>Delete Subfolders and Files</li>
  <li>Delete </li>
  </ul>
  
  <p>They are available to select if I Click on the <code>edit</code> button over the username.</p>
  
  <p>Wouldn't I be opening a security hole if I do this?
  Otherwise, how can I do to read and delete the files my website uses?</p>
  
  <p>Thanks.</p>