Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eric Herlitz 97 posts 129 karma points
    Feb 20, 2011 @ 00:07
    Eric Herlitz
    0

    Template and editors broken in admin interface

    Hi!

    Sometimes magic stuff happens, I didnt really chance any thing and when reloading the admin interface the editor for templates, xslt and so on is broken. This goes as well for some templates. Very annoying. Any tips?

  • Eric Herlitz 97 posts 129 karma points
    Feb 20, 2011 @ 00:49
    Eric Herlitz
    1

    Fixed it by running (in the command prompt)

    icacls . /grant "IIS APPPOOL\umbraco":(OI)(CI)M

    where the \umbraco is the name of my application pool for the specific site.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 20, 2011 @ 12:07
    Kim Andersen
    0

    So this was a matter of permission settings?

    I'm not that good at command script so just curious about what the above script does :)

    /Kim A

  • Eric Herlitz 97 posts 129 karma points
    Feb 22, 2011 @ 22:36
    Eric Herlitz
    1

    The above script gives the user umbraco located in the IIS APP POOL rights to read and execute the files in the folder where the command is executed.

    The entire script looks like this

     

    icacls . /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls app_code /grant "IIS APPPOOL\umbraco":(OI)(CI)RX
    icacls app_browsers /grant "IIS APPPOOL\umbraco":(OI)(CI)RX
    icacls app_data /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls bin /grant "IIS APPPOOL\umbraco":(OI)(CI)R
    icacls config /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls css /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls data /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls masterpages /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls media /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls python /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls scripts /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls umbraco /grant "IIS APPPOOL\umbraco":(OI)(CI)R
    icacls usercontrols /grant "IIS APPPOOL\umbraco":(OI)(CI)R
    icacls xslt /grant "IIS APPPOOL\umbraco":(OI)(CI)M
    icacls web.config /grant "IIS APPPOOL\umbraco":(OI)(CI)M

     

     

    You can read more here

    http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line

     

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 23, 2011 @ 09:00
    Kim Andersen
    0

    Ahh great Eric. I think what confused me was that your app pool user was called umbraco :)

    Thanks for clearing things out.

    /Kim A

  • Eric Herlitz 97 posts 129 karma points
    Feb 23, 2011 @ 16:08
    Eric Herlitz
    0

    Just to make clear, it's not the user as i said, its the app pool name

    IIS APPPOOL\{application-pool-name}
    / eric

Please Sign in or register to post replies

Write your reply to:

Draft