{"action":"created","issue":{"url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/242","labels_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/242/comments","events_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/242/events","html_url":"https://github.com/Alexpux/MSYS2-packages/issues/242","id":73919599,"number":242,"title":"Strange access issue with Ruby and network drives","user":{"login":"orgads","id":1246544,"avatar_url":"https://avatars.githubusercontent.com/u/1246544?v=3","gravatar_id":"","url":"https://api.github.com/users/orgads","html_url":"https://github.com/orgads","followers_url":"https://api.github.com/users/orgads/followers","following_url":"https://api.github.com/users/orgads/following{/other_user}","gists_url":"https://api.github.com/users/orgads/gists{/gist_id}","starred_url":"https://api.github.com/users/orgads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orgads/subscriptions","organizations_url":"https://api.github.com/users/orgads/orgs","repos_url":"https://api.github.com/users/orgads/repos","events_url":"https://api.github.com/users/orgads/events{/privacy}","received_events_url":"https://api.github.com/users/orgads/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-07T09:41:09Z","updated_at":"2015-05-07T11:03:54Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to access 2 network drives from msys2 shell using ruby. One works, while the other doesn't.\r\n\r\nThe same command works with msys1.\r\n\r\n```\r\nruby -e 'puts Dir.glob(\"//server1/some/path/*\")' # works\r\nruby -e 'puts Dir.glob(\"//server2/other/path/*\")' # works with msys1, fails with msys2\r\n```\r\n\r\nNeedless to say, the same version of Ruby is used on both environments.\r\n\r\nProcess Monitor shows that for server2 CreateFile is invoked for `//server2/other/path/` with a trailing slash, which results in Access Denied, while with msys1 or cmd, and for server1 even with msys2, there isn't a trailing slash.\r\n\r\nThe path length is the same for both servers (1 share name, 1 path under it).\r\n\r\nI have no idea what type of servers these are.\r\n\r\nIs there a way to debug this problem?"},"comment":{"url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/comments/99815699","html_url":"https://github.com/Alexpux/MSYS2-packages/issues/242#issuecomment-99815699","issue_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/242","id":99815699,"user":{"login":"elieux","id":1399406,"avatar_url":"https://avatars.githubusercontent.com/u/1399406?v=3","gravatar_id":"","url":"https://api.github.com/users/elieux","html_url":"https://github.com/elieux","followers_url":"https://api.github.com/users/elieux/followers","following_url":"https://api.github.com/users/elieux/following{/other_user}","gists_url":"https://api.github.com/users/elieux/gists{/gist_id}","starred_url":"https://api.github.com/users/elieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elieux/subscriptions","organizations_url":"https://api.github.com/users/elieux/orgs","repos_url":"https://api.github.com/users/elieux/repos","events_url":"https://api.github.com/users/elieux/events{/privacy}","received_events_url":"https://api.github.com/users/elieux/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T11:03:54Z","updated_at":"2015-05-07T11:03:54Z","body":"Can you check the command lines that are used to invoke ruby in Process Monitor? (It's the \"Process Start\" event.)"}}