Setting write permissions for folders while creating a package with MSDeploy
- by bala_88
I'm using MSDeploy to create an artefact as a build step in NAnt. This particular build step is called on successful compilation. The artefact is then used to for deployment.
Here is the step specified in my build file.
<target name="BuildMsDeployPackage" depends="StageForMsDeployPackaging">
<exec program="${msdeploy.exe}"
workingdir="${buildDirectory}"
verbose="true"
commandline="-verb:sync
-source:iisapp=${packagingDirectory}
-dest:package=${publishDirectory}\${webapp.artifact.zip}"/>
The source here is my my web project.
I want to be able to set specify write access to a couple of folders in the package that is created. Is this possible? I know that there is a setAcl provider for this specific purpose, but can this be used while creating a package?