Have a build script in psake/powershell that compiles and deploys a website to remote server using msdeploy. I need to set the acl's on one file in the root after the deployment. Anyone done this? I know I can use msdeploy but can't get the syntax right. Is there are better way? I simply need to grant modify permissions on the file to the app pool for the site.
Cheers,