Account executing post deployment scripts

Hey

I have an issue with copying files to network shares from post deployment script. The share has open access (read/write for everyone). When testing via Tentacle.exe it works fine, the file is uploaded. When running a deployment however, I get this error:

Copy-Item : Access to the path ‘\INFN1069-CI\TestResults\TestResult-WebApp.xml’ is denied.

First I thought about PowerShell double hop problem but then realized that it is not the case because it’s Tentacle who’s running the scripts, not myself remotely. My tentacle uses Local System account.

Hi Szymon,

Yes, you will need to configure Tentacle to run under a domain account that has permission to copy to this file share (as well as to do all the other things you need your Tentacle to do)

Paul