{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/3243","repository_url":"https://api.github.com/repos/fsprojects/Paket","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/3243/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/3243/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/3243/events","html_url":"https://github.com/fsprojects/Paket/issues/3243","id":330740726,"node_id":"MDU6SXNzdWUzMzA3NDA3MjY=","number":3243,"title":"Writing to dotnet folder?","user":{"login":"et1975","id":623703,"node_id":"MDQ6VXNlcjYyMzcwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/623703?v=4","gravatar_id":"","url":"https://api.github.com/users/et1975","html_url":"https://github.com/et1975","followers_url":"https://api.github.com/users/et1975/followers","following_url":"https://api.github.com/users/et1975/following{/other_user}","gists_url":"https://api.github.com/users/et1975/gists{/gist_id}","starred_url":"https://api.github.com/users/et1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/et1975/subscriptions","organizations_url":"https://api.github.com/users/et1975/orgs","repos_url":"https://api.github.com/users/et1975/repos","events_url":"https://api.github.com/users/et1975/events{/privacy}","received_events_url":"https://api.github.com/users/et1975/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-08T17:25:37Z","updated_at":"2018-06-08T18:07:40Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nPaket 5.172.0 is trying to write to my dotnet SDK folder on OSX:\r\n>Error: System.UnauthorizedAccessException: Access to the path \"/usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.io.filesystem/4.3.0/paket-installmodel.cache\" is denied.\r\n\r\nWhy would paket try to write to my root-only folder?\r\n\r\n\r\n### Repro steps\r\n\r\n`paket update dotnet-fable`\r\n\r\n### Expected behavior\r\n\r\nShouldn't try/complain.\r\n\r\n### Actual behavior\r\n\r\nStack trace for some, but not all packages.\r\n\r\n\r\n### Known workarounds\r\n\r\nIt doesn't seem to be a critical failure, it's just complaining on every attempt at package manipulation."},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/395842615","html_url":"https://github.com/fsprojects/Paket/issues/3243#issuecomment-395842615","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/3243","id":395842615,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTg0MjYxNQ==","user":{"login":"et1975","id":623703,"node_id":"MDQ6VXNlcjYyMzcwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/623703?v=4","gravatar_id":"","url":"https://api.github.com/users/et1975","html_url":"https://github.com/et1975","followers_url":"https://api.github.com/users/et1975/followers","following_url":"https://api.github.com/users/et1975/following{/other_user}","gists_url":"https://api.github.com/users/et1975/gists{/gist_id}","starred_url":"https://api.github.com/users/et1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/et1975/subscriptions","organizations_url":"https://api.github.com/users/et1975/orgs","repos_url":"https://api.github.com/users/et1975/repos","events_url":"https://api.github.com/users/et1975/events{/privacy}","received_events_url":"https://api.github.com/users/et1975/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T18:07:40Z","updated_at":"2018-06-08T18:07:40Z","author_association":"NONE","body":"@csmager Seeing how 5.172.0 is now delisted, I don't think I can give you anything reproducible. However, the stack trace starts with:\r\n>  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00007] in <bb7b695b8c6246b3ac1646577aea7650>:0 \r\n  at Paket.NuGet.ofDirectory (System.String targetFolder)"}}
{"actor":{"display_login":"et1975"}}