{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/1628","repository_url":"https://api.github.com/repos/prometheus/prometheus","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/1628/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/1628/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/1628/events","html_url":"https://github.com/prometheus/prometheus/issues/1628","id":154499615,"number":1628,"title":"\"Access is denied\" while dropping persistent chunks on Windows","user":{"login":"Bounz","id":3062744,"avatar_url":"https://avatars.githubusercontent.com/u/3062744?v=3","gravatar_id":"","url":"https://api.github.com/users/Bounz","html_url":"https://github.com/Bounz","followers_url":"https://api.github.com/users/Bounz/followers","following_url":"https://api.github.com/users/Bounz/following{/other_user}","gists_url":"https://api.github.com/users/Bounz/gists{/gist_id}","starred_url":"https://api.github.com/users/Bounz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bounz/subscriptions","organizations_url":"https://api.github.com/users/Bounz/orgs","repos_url":"https://api.github.com/users/Bounz/repos","events_url":"https://api.github.com/users/Bounz/events{/privacy}","received_events_url":"https://api.github.com/users/Bounz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prometheus/prometheus/labels/kind/bug","name":"kind/bug","color":"ff0000"}],"state":"open","locked":false,"assignee":{"login":"beorn7","id":5609886,"avatar_url":"https://avatars.githubusercontent.com/u/5609886?v=3","gravatar_id":"","url":"https://api.github.com/users/beorn7","html_url":"https://github.com/beorn7","followers_url":"https://api.github.com/users/beorn7/followers","following_url":"https://api.github.com/users/beorn7/following{/other_user}","gists_url":"https://api.github.com/users/beorn7/gists{/gist_id}","starred_url":"https://api.github.com/users/beorn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beorn7/subscriptions","organizations_url":"https://api.github.com/users/beorn7/orgs","repos_url":"https://api.github.com/users/beorn7/repos","events_url":"https://api.github.com/users/beorn7/events{/privacy}","received_events_url":"https://api.github.com/users/beorn7/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-12T14:40:16Z","updated_at":"2016-05-12T15:10:02Z","closed_at":null,"body":"Hi, everyone.\r\nI have prometheus 0.18.0 installed on Windows Server 2008 R2.\r\nAfter some time a lot of error messages began to appear in log file:\r\n```time=\"2016-05-11T14:35:09+03:00\" level=error msg=\"Error dropping persisted chunks: rename data\\\\9f\\\\109282fa3f2607.db.tmp data\\\\9f\\\\109282fa3f2607.db: Access is denied.\" source=\"storage.go:1258\" ```\r\n\r\nWhile trying to investigate what's happens I found out that it is connected with ```SetRenameInformationFile``` system call, as it can be seen on the screenshot:\r\n![aid](https://cloud.githubusercontent.com/assets/3062744/15218049/c8faf8aa-1866-11e6-9dc4-805babdb826e.png)\r\n\r\nPrometheus is running under local SYSTEM account and this account has full access to prometheus directory.\r\nHas anybody faced with problem like this?"},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/218787620","html_url":"https://github.com/prometheus/prometheus/issues/1628#issuecomment-218787620","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/1628","id":218787620,"user":{"login":"beorn7","id":5609886,"avatar_url":"https://avatars.githubusercontent.com/u/5609886?v=3","gravatar_id":"","url":"https://api.github.com/users/beorn7","html_url":"https://github.com/beorn7","followers_url":"https://api.github.com/users/beorn7/followers","following_url":"https://api.github.com/users/beorn7/following{/other_user}","gists_url":"https://api.github.com/users/beorn7/gists{/gist_id}","starred_url":"https://api.github.com/users/beorn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beorn7/subscriptions","organizations_url":"https://api.github.com/users/beorn7/orgs","repos_url":"https://api.github.com/users/beorn7/repos","events_url":"https://api.github.com/users/beorn7/events{/privacy}","received_events_url":"https://api.github.com/users/beorn7/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T15:10:02Z","updated_at":"2016-05-12T15:10:02Z","body":"I'll check if deletion of files happens when they are still open. Preliminarily assigning to myself for that (although I'm not a Windows expert at all...)"}}