File and folder permissions

    To ensure a stable and smoothly running Umbraco installation, these permissions need to be set correctly. These permissions should be setup before or during the installation of Umbraco.

    The main account that requires 'modify' file permissions to be set on the folders below, is the account used start Umbraco. If Umbraco is hosted in IIS this will be the Application Pool Identity for the IIS website. Usually IIS APPPOOL\appPoolName or a specific local account or in some circumstances Network Service - If in doubt, ask your server admin / hosting company. Additionally the IUSR account and IIS_IUSRS account only require 'read only' access to the site's folders.

    Generally when developing locally with Visual Studio or Rider, permissions do not need to be strictly applied.

    If you have any specific static files / media items / etc then you should add the appropriate permissions accordingly. The permissions documentation as it is should allow you to run a plain Umbraco install successfully, the rest.. is up to you! 👍

    File / folder Permission Comment
    /appSettings*.json Modify / Full control

    Only needed for setting database and a global identifier during installation. So can be set to read-only afterwards for enhanced security

    /App_Plugins Modify / Full control

    Should always have modify rights as the folder and its files are used by packages

    /umbraco Modify / Full control

    Should always have modify rights as the folder and its files are used for cache and storage

    /Views Modify / Full control

    Should always have modify rights as the folder and its files are used for template, partial view and macro files

    /wwwroot/css Modify / Full control

    Should always have modify rights as the folder and its files are used for css files

    /wwwroot/media Modify / Full control

    Should always have modify rights as the folder and its files are used for media files uploaded via Umbraco CMS interface

    /wwwroot/scripts Modify / Full control

    Should always have modify rights as the folder and its files are used for script files

    /wwwroot/umbraco Modify / Full control

    For upgrades and package installation, it should have modify rights, but can be set to read-only afterwards