Hi,
As part of my first web deploy run I need to grant read and write permissions to the system Temp location to the IIS_IUSRS group. There is a system variable declared %TEMP%; but unfortunately there is also a user variable by the same name.
As a result, when I run the command "C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync -source:setacl -dest:setacl=%TEMP%,setAclUser="IIS_IUSRS",setAclAccess=Write" the IIS_IUSRS group is granted write permissions defined in the user's %TEMP% location, and not the system %Temp% location.
One solution I explored was to reference the temp directory at %windir%\TEMP, but there's a good chance that the system %TEMP% variable that IIS references will not be set to that location in all instances.
Has anyone tried to do this previously, or think of a method of referencing the system variables rather than the user variables?
Thanks,
Alan