When installing Umbraco it is a pain to set all the folder permissions through Explorer. This script does the same job.
icacls app_code /grant "NETWORK SERVICE":(OI)(CI)F
icacls bin /grant "NETWORK SERVICE":(OI)(CI)F
icacls config /grant "NETWORK SERVICE":(OI)(CI)F
icacls css /grant "NETWORK SERVICE":(OI)(CI)F
icacls data /grant "NETWORK SERVICE":(OI)(CI)F
icacls masterpages /grant "NETWORK SERVICE":(OI)(CI)F
icacls media /grant "NETWORK SERVICE":(OI)(CI)F
icacls python /grant "NETWORK SERVICE":(OI)(CI)F
icacls scripts /grant "NETWORK SERVICE":(OI)(CI)F
icacls umbraco /grant "NETWORK SERVICE":(OI)(CI)F
icacls usercontrols /grant "NETWORK SERVICE":(OI)(CI)F
icacls xslt /grant "NETWORK SERVICE":(OI)(CI)F
Subscribe to:
Post Comments (Atom)
1 comments:
Hi,
Thanks for this. I found that when I ran it for installing 4.5.1. that Umbraco required three more folder settings:
icacls App_Data /grant "IIS APPPOOL\ASP.NET v4.0":(OI)(CI)F
icacls App_Data\preview /grant "IIS APPPOOL\ASP.NET v4.0":(OI)(CI)F
icacls App_Data\packages "IIS APPPOOL\ASP.NET v4.0":(OI)(CI)F
Post a Comment