{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/628","repository_url":"https://api.github.com/repos/aspnet/Tooling","labels_url":"https://api.github.com/repos/aspnet/Tooling/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Tooling/issues/628/comments","events_url":"https://api.github.com/repos/aspnet/Tooling/issues/628/events","html_url":"https://github.com/aspnet/Tooling/issues/628","id":162843568,"number":628,"title":"Publishing to IIS with a Web Site Project causes ACLs to be overwritten","user":{"login":"RickStrahl","id":1374013,"avatar_url":"https://avatars.githubusercontent.com/u/1374013?v=3","gravatar_id":"","url":"https://api.github.com/users/RickStrahl","html_url":"https://github.com/RickStrahl","followers_url":"https://api.github.com/users/RickStrahl/followers","following_url":"https://api.github.com/users/RickStrahl/following{/other_user}","gists_url":"https://api.github.com/users/RickStrahl/gists{/gist_id}","starred_url":"https://api.github.com/users/RickStrahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickStrahl/subscriptions","organizations_url":"https://api.github.com/users/RickStrahl/orgs","repos_url":"https://api.github.com/users/RickStrahl/repos","events_url":"https://api.github.com/users/RickStrahl/events{/privacy}","received_events_url":"https://api.github.com/users/RickStrahl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Tooling/labels/TFS%20Tracked","name":"TFS Tracked","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-29T05:27:14Z","updated_at":"2016-07-18T18:38:19Z","closed_at":null,"body":"The Visual Studio Publish behavior in a Web Site project apparently causes ACLs to be overridden. I didn't realize this since I rarely have Web Site projects that contain code where this matters, but I added some file writing code recently that failed due to ACLs not being set. Set the ACLs properly so writes would work, then published and the ACLs are gone.\r\n\r\nThis behavior is not expected and also doesn't match the behavior of other Web Project types which leave the ACLs on the target alone. Please change the default behavior.\r\n\r\nI realize this setting can be overridden with:\r\n\r\n```xml\r\n<IncludeSetAclProviderOnDestination>False</IncludeSetAclProviderOnDestination>\r\n```\r\n\r\nBut this is not very easy to remember or discover. Perhaps if there was an option for this, but I still believe that 90% of the time you do not want to set ACLs on the server. Further I'm not clear what ACL settings are made - they certainly are not being copied from the client side settings (ie. I have NETWORK SERVICE set on my project folder, but that's not making it to the server so it appears the default just removes ACLs completely which is very disruptive).\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/comments/233418657","html_url":"https://github.com/aspnet/Tooling/issues/628#issuecomment-233418657","issue_url":"https://api.github.com/repos/aspnet/Tooling/issues/628","id":233418657,"user":{"login":"mlorbetske","id":1414993,"avatar_url":"https://avatars.githubusercontent.com/u/1414993?v=3","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T18:38:19Z","updated_at":"2016-07-18T18:38:19Z","body":"TFS Bug#241360"}}
{"actor":{"display_login":"mlorbetske"}}