Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

MSDeploy - setAcl for IIS_IUSRS on the system Temp location

$
0
0

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


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>