title: Access to the path 'C:\inetpub\wwwroot\App_Data\TEMP\PluginCache' is denied. Amazon AWS Beanstalk
body: <p>I'm trying to setup an Umbraco website on Amazon AWS Beanstalk using the AWS Toolkit for Visual studio 2017, I have added the .ebextensions folder and inside my config file</p>
  
  <pre><code>{
  "containercommands": {
  "01-changeperm": {
  "command": "icacls \"C:/inetpub/wwwroot/App_Data\" /grant IIS_IUSRS:(OI)(CI)"
  }
  }
  }
  </code></pre>
  
  <p>I have also tried <strong>DefaultAppPool</strong> instead of <strong>IIS_IUSRS</strong> as per this post <a href="https://stackoverflow.com/questions/25047587/how-can-i-set-folder-permissions-for-elastic-beanstalk-windows-application/27393459#27393459">How can I set folder permissions for elastic beanstalk windows application?</a> and I have also tried </p>
  
  <pre><code>commands:
    create_default_website_folder:
      command: if not exist "C:\inetpub\wwwroot" mkdir "C:\inetpub\wwwroot"
    update_iis_user_permissions:
      command: Icacls.exe "C:\inetpub\wwwroot" /grant IIS_IUSRS:(OI)(CI)F
  </code></pre>
  
  <p>from this post <a href="https://aws.amazon.com/blogs/devops/run-umbraco-cms-with-flexible-load-balancing-on-aws/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/devops/run-umbraco-cms-with-flexible-load-balancing-on-aws/</a> along with many other post, but none work, does anyone know what else I need to do as I'm constantly getting the following error.</p>
  
  <blockquote>
    <p>Access to the path 'C:\inetpub\wwwroot\App_Data\TEMP\PluginCache' is
    denied.</p>
  </blockquote>