Azure Devops release pipeline - set file system permissions post deploy

JGrahame 1 Reputation point
2021-04-02T09:18:53.453+00:00

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 Monitored
Not Monitored
Tag not monitored by Microsoft.
35,514 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,471 Reputation points
    2021-04-02T10:05:20.723+00:00

    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

    0 comments No comments

  2. JGrahame 1 Reputation point
    2021-04-02T10:48:29.547+00:00

    Thanks very much. Will repost there

    Julian

    0 comments No comments