question

JGrahame-4547 avatar image
0 Votes"
JGrahame-4547 asked JGrahame-4547 answered

Azure Devops release pipeline - set file system permissions post deploy

Issue when deploying IIS website to our on-premise server.

All files are deployed successfully. However, on every deploy, specific permissions on files and folders within the target directory are lost.

Basically we need to set write/modify permission on several directories and files within the target directory.

We could do this with PowerShell. However, how can I run a PowerShell script, as part of the release pipeline on the website folder after files have been deployed?

Regards

Jules

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VaibhavChaudhari avatar image
0 Votes"
VaibhavChaudhari answered

Azure DevOps related questions are not supported on this forum. It's better to reach out to experts in a dedicated forum over here:

https://developercommunity.visualstudio.com/spaces/21/index.html


Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JGrahame-4547 avatar image
0 Votes"
JGrahame-4547 answered

Thanks very much. Will repost there

Julian

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.