CACLS and Windows XP professional

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.
 
S

Star Fleet Admiral Q

You may wish to consult the gurus in one of the IIS newsgroups -
personally I handle website administration for IIS (including
security) on XP/2003 via the IIS snapin. IIS creates "virtual"
websites in which IIS controls the security permissions - the actual
website directories may/may not have the same folder names/structures.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top