I tried to run it on my danish Windows Vista, but i doesen't work. For each folder i get an errormessage (in danish) telling something like "no mapping found between account name and security ID".
I have tried both with "NETWORK SERVICE" and the danish name "NETVÆRKSTJENESTE", but none of them work.
I have also tried to run the script "as administrator" but no go either.
I can manually set the rights to Full control to NETVÆRKSTJRNESTE, but i'm doing quite a lot of test environments and moving around Umbraco installations so it would be a great time saver if i could get this script to work.
But i i use "Administrator" (called the same in danish) it works, so i just have to figure out what to substitute for NETWORK SERVICE on a danish Windos Vista.
Srcipts to set folder rights
I found this script in the Wiki to set the accessrights on the umbraco folder structure:
icacls app_code /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls bin /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls config /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls css /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls data /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls masterpages /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls media /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls python /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls scripts /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls umbraco /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls usercontrols /grant "NETVÆRKSTJENESTE":(OI)(CI)F
icacls xslt /grant "NETVÆRKSTJENESTE":(OI)(CI)F
I tried to run it on my danish Windows Vista, but i doesen't work. For each folder i get an errormessage (in danish) telling something like "no mapping found between account name and security ID".
I have tried both with "NETWORK SERVICE" and the danish name "NETVÆRKSTJENESTE", but none of them work.
I have also tried to run the script "as administrator" but no go either.
I can manually set the rights to Full control to NETVÆRKSTJRNESTE, but i'm doing quite a lot of test environments and moving around Umbraco installations so it would be a great time saver if i could get this script to work.
Anybody know what i should do ?
Thanks
Mikael
You may like to read this -> http://blog.vizioz.com/2009/10/umbraco-permissions-script-secure.html
Dan
Thanks for that suggestion Dan.
But unfortunaletly when running that i get:
"SetACL error message: The SID for a trustee could not be found",
Which i assume is the English edition of the error i mentioned in my first post.
It's seems like neither NETWORK SERVICE nor NETVÆRKSTJENESTE works
Mikael
But i i use "Administrator" (called the same in danish) it works, so i just have to figure out what to substitute for NETWORK SERVICE on a danish Windos Vista.
is working on a reply...