B
Baz
I'm using a script to deploy web sites on IIS and am having grave
difficulties with the CACLS command on Windows XP Professional.
I need to give read/write permissions to the local IUSR_<Computername>
account to my web site folder and the sub folders within it e.g.
c:\inetpub\wwwroot\mywebsite
c:\inetpub\wwwroot\mywebsite\images
To automate this process, I'm using the CACLS command:
CACLS c:\inetpub\wwwroot\mywebsite /T /G IUSR_PC1:F
This command however returns the message
No mapping between account names and security IDs was done.
I have even tried CACLS c:\inetpub\wwwroot\mywebsite /T /G
PC1\IUSR_PC1:F but it still returns a No mapping between account names
and security IDs was done.
Interestingly though CACLS works on my Windows XP Prof if I specify a
user that is part of my NT domain e.g.
CACLS c:\inetpub\wwwroot\mywebsite /T /G MyDomain\MyUsername:F
and the same command that is causing me grief of Windows XP (CACLS
c:\inetpub\wwwroot\mywebsite /T /G PC2\IUSR_PC2:F) works fine on
windows 2000 professional
Any help will be greatly appreciated.
difficulties with the CACLS command on Windows XP Professional.
I need to give read/write permissions to the local IUSR_<Computername>
account to my web site folder and the sub folders within it e.g.
c:\inetpub\wwwroot\mywebsite
c:\inetpub\wwwroot\mywebsite\images
To automate this process, I'm using the CACLS command:
CACLS c:\inetpub\wwwroot\mywebsite /T /G IUSR_PC1:F
This command however returns the message
No mapping between account names and security IDs was done.
I have even tried CACLS c:\inetpub\wwwroot\mywebsite /T /G
PC1\IUSR_PC1:F but it still returns a No mapping between account names
and security IDs was done.
Interestingly though CACLS works on my Windows XP Prof if I specify a
user that is part of my NT domain e.g.
CACLS c:\inetpub\wwwroot\mywebsite /T /G MyDomain\MyUsername:F
and the same command that is causing me grief of Windows XP (CACLS
c:\inetpub\wwwroot\mywebsite /T /G PC2\IUSR_PC2:F) works fine on
windows 2000 professional
Any help will be greatly appreciated.