How to set ACL folders with Web deployment in VS2010?

I have a web application that I want to deploy using Web Deploy using the Build Deployment Package

He has an Errors folder. This is part of the project. Web Deploy adds it, but how can I indicate that I want the application to have write permissions in this folder?

Do I need to manually edit the original manifest every time, or can I install it somewhere so the package can do this automatically?

+3
source share
2 answers

Not too sure if this will help, but there is a command called Set-Acl . This can then be used for the Set-Acl provider . As a note, this blog post seems to be dealing with the same issue.

+1
source

I found this post in web deployment. The message itself is not relevant to your topic, but there is a comment (search for ".csproj", the comment should be yellow) that shows how to disable Web Deploy in order to set-acl-s in your manifest. Maybe you can go from there.

+2
source

Source: https://habr.com/ru/post/1765026/


All Articles