Last active
December 14, 2015 08:09
-
-
Save smdooley/5055997 to your computer and use it in GitHub Desktop.
Umbraco folder permissions Setting Permissions for ApplicationPoolIdentity
More secure: change "NETWORK SERVICE" to "IIS APPPOOL\{application-pool-name}"
Less secure: change "NETWORK SERVICE" to "IIS_IUSRS"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Following line in original script incorrectly sets all child folder permissions | |
REM icacls . /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls app_code /grant "NETWORK SERVICE":(OI)(CI)RX | |
icacls app_browsers /grant "NETWORK SERVICE":(OI)(CI)RX | |
icacls app_data /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls bin /grant "NETWORK SERVICE":(OI)(CI)R | |
icacls config /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls css /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls data /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls masterpages /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls macroScripts /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls media /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls python /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls scripts /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls umbraco /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls usercontrols /grant "NETWORK SERVICE":(OI)(CI)R | |
icacls xslt /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls web.config /grant "NETWORK SERVICE":(OI)(CI)M | |
icacls web.config /grant "NETWORK SERVICE":M | |
REM If you have installed the Robots.txt editor package you need the following line too | |
icacls robots.txt /grant "NETWORK SERVICE":M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment