ASP.NET Web Site Project Publishing and Changing ACLs
Posted by: Rick Strahls WebLog,
on 29 Jun 2016 |
View original | Bookmarked: 0 time(s)
This post is a note to self regarding a problem I ran into today - again - with Publishing a Web Site project to my server so I decided to write it down so I can find it next time.
The problem is if you use Web Deploy from Visual Studio with a Web Site Project (and only a Web Site Project), the publish will overwrite the ACLs on the server by clearing them to the inherited defaults of the parent.
Needless to say this is usually not what you want - if you have any ACLs set at all...