{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3505","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3505/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3505/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3505/events","html_url":"https://github.com/jruby/jruby/issues/3505","id":119604502,"number":3505,"title":"stat.writable? incorrectly reporting false for some directories on Windows 7","user":{"login":"aschmied","id":4484927,"avatar_url":"https://avatars.githubusercontent.com/u/4484927?v=3","gravatar_id":"","url":"https://api.github.com/users/aschmied","html_url":"https://github.com/aschmied","followers_url":"https://api.github.com/users/aschmied/followers","following_url":"https://api.github.com/users/aschmied/following{/other_user}","gists_url":"https://api.github.com/users/aschmied/gists{/gist_id}","starred_url":"https://api.github.com/users/aschmied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschmied/subscriptions","organizations_url":"https://api.github.com/users/aschmied/orgs","repos_url":"https://api.github.com/users/aschmied/repos","events_url":"https://api.github.com/users/aschmied/events{/privacy}","received_events_url":"https://api.github.com/users/aschmied/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T23:22:39Z","updated_at":"2015-12-01T00:04:44Z","closed_at":null,"body":"In 1.7.22:\r\n\r\n    irb(main):031:0> dir = File.expand_path(ENV['TMP'])\r\n    \"C:/Users/ANTHON~1/AppData/Local/Temp\"\r\n    irb(main):032:0> stat = File.stat(dir)\r\n    #<File::Stat dev=0x2, ino=0, mode=040755, nlink=1, uid=0, gid=0, rdev=0x2, size=393216, blksize=512, blocks=0, atime=2015-11-30 18:19:32 -0500, mtime=2015-11-30 18:19:32 -0500, ctime=2015-11-16 11:18:42 -0500>\r\n    irb(main):033:0> stat.writable?\r\n    true\r\n\r\nIn 1.7.23:\r\n\r\n    irb(main):039:0> dir = File.expand_path(ENV['TMP'])\r\n    \"C:/Users/ANTHON~1/AppData/Local/Temp\"\r\n    irb(main):040:0> stat = File.stat(dir)\r\n    #<File::Stat dev=0x2, ino=0, mode=040555, nlink=1, uid=-1, gid=, rdev=0x2, size=393216, blksize=0, blocks=, atime=2015-11-30 06:45:17 -0500, mtime=2015-11-30 06:45:17 -0500, ctime=2015-11-15 23:43:54 -0500>\r\n    irb(main):041:0> stat.writable?\r\n    false\r\n\r\nI noticed this because it broke `Dir.tmpdir` on this system: every candidate temp directory is skipped.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/160803989","html_url":"https://github.com/jruby/jruby/issues/3505#issuecomment-160803989","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3505","id":160803989,"user":{"login":"nirvdrum","id":12584,"avatar_url":"https://avatars.githubusercontent.com/u/12584?v=3","gravatar_id":"","url":"https://api.github.com/users/nirvdrum","html_url":"https://github.com/nirvdrum","followers_url":"https://api.github.com/users/nirvdrum/followers","following_url":"https://api.github.com/users/nirvdrum/following{/other_user}","gists_url":"https://api.github.com/users/nirvdrum/gists{/gist_id}","starred_url":"https://api.github.com/users/nirvdrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirvdrum/subscriptions","organizations_url":"https://api.github.com/users/nirvdrum/orgs","repos_url":"https://api.github.com/users/nirvdrum/repos","events_url":"https://api.github.com/users/nirvdrum/events{/privacy}","received_events_url":"https://api.github.com/users/nirvdrum/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T00:04:44Z","updated_at":"2015-12-01T00:04:44Z","body":"@enebo It looks like we have more work."}}