{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1715","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1715/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1715/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1715/events","html_url":"https://github.com/NuGet/Home/issues/1715","id":116398418,"number":1715,"title":"Package Cache folder ACL file permissions","user":{"login":"japplequ","id":15805031,"avatar_url":"https://avatars.githubusercontent.com/u/15805031?v=3","gravatar_id":"","url":"https://api.github.com/users/japplequ","html_url":"https://github.com/japplequ","followers_url":"https://api.github.com/users/japplequ/followers","following_url":"https://api.github.com/users/japplequ/following{/other_user}","gists_url":"https://api.github.com/users/japplequ/gists{/gist_id}","starred_url":"https://api.github.com/users/japplequ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japplequ/subscriptions","organizations_url":"https://api.github.com/users/japplequ/orgs","repos_url":"https://api.github.com/users/japplequ/repos","events_url":"https://api.github.com/users/japplequ/events{/privacy}","received_events_url":"https://api.github.com/users/japplequ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-11T18:57:37Z","updated_at":"2015-11-11T20:11:26Z","closed_at":null,"body":"We are having a big permissions issue with NuGet packages being pulled from the local machine cache folder under a user's profile folder/NuGet.  Since that is the default directory for cache, user profile directories are of course restricted to the current user and admins, and system.\r\n\r\nDuring an msbuild, msbuild is pulling the cached file to the builds bin directory and of course maintaining file permissions.  In a web project, certain users need access to read dlls.  Since the file came across with limited permissions, the web project fails to open in a browser.  Once permissions on the web folder are RESET using icacls to their default inherited permissions, all is well.\r\n\r\nThe crux of the problem is that a cache should not behave this way.  I realize there is probably a setting to change the cache location to a non-user profile folder, but we still feel this is out of the norm.\r\n\r\nCan you tell me if this is a known issue that I could not find in the issue list?  Is this a bug in how the caching works?\r\n\r\nThank you for your help."},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/155897447","html_url":"https://github.com/NuGet/Home/issues/1715#issuecomment-155897447","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1715","id":155897447,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T20:11:26Z","updated_at":"2015-11-11T20:11:26Z","body":"I think the answer is that if you want the project to work for different users, you have to either publish it or to add the msbuild task that changes permissions.\r\n\r\nThat sounds like the right place to fix this, I don't know that nuget could/should do anything here."}}