Setting file permissions for Umbraco 10+

, ,

For my Umbraco 8 projects I used to run a batch file to set the required file & folder permissions for the IIS app pool that was being used for the website.

icacls App_Code /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls App_Data /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls App_Plugins /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls bin /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls Config /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls css /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls media /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls scripts /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls js /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls Umbraco /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls Views /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls uSync /grant "IIS APPPOOL\.Net 4.0":(OI)(CI)M
icacls web.config /grant "IIS APPPOOL\.Net 4.0":M
REM If you have installed the Robots.txt editor package you need the following line too
icacls robots.txt /grant "IIS APPPOOL\.Net 4.0":M

I’m wondering how this differs for .Net Core as I’m creating an Umbraco 13 project so I need to set the correct permissions for it.

Thanks,

Matt

and 15/16 though all look pretty similar.

Great, thanks for that info Mike.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.