How do I set folder ACL's with Web deploy in VS2010?
문제
I have a web application I want to deploy via Web Deploy, using "Build Deployment Package"
It has a folder called "Errors". This is part of the project. Web Deploy adds it, but how do I specify that i want the application to have Write permissions on this folder?
Do I have to manually edit the source manifest each time, or can I set it somewhere to get the package to do it automagically?
해결책
Not too sure if this will help, but there is a command called Set-Acl. This can then be used to Set-Acl provider. As a side note, this blog post seems to be dealing with the same issue.
다른 팁
I found this post on Web Deployment. The post in itself is not on your topic, but there's a comment in there (search for '.csproj'; comment should be yellow) that shows how to disable Web Deploy to make set-acl-s in your manifest. Maybe you can go from there.