{"action":"closed","issue":{"url":"https://api.github.com/repos/joyent/node/issues/25605","labels_url":"https://api.github.com/repos/joyent/node/issues/25605/labels{/name}","comments_url":"https://api.github.com/repos/joyent/node/issues/25605/comments","events_url":"https://api.github.com/repos/joyent/node/issues/25605/events","html_url":"https://github.com/joyent/node/issues/25605","id":92317664,"number":25605,"title":"`mode` doesn't work in fs.open()","user":{"login":"cannium","id":1171383,"avatar_url":"https://avatars.githubusercontent.com/u/1171383?v=3","gravatar_id":"","url":"https://api.github.com/users/cannium","html_url":"https://github.com/cannium","followers_url":"https://api.github.com/users/cannium/followers","following_url":"https://api.github.com/users/cannium/following{/other_user}","gists_url":"https://api.github.com/users/cannium/gists{/gist_id}","starred_url":"https://api.github.com/users/cannium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cannium/subscriptions","organizations_url":"https://api.github.com/users/cannium/orgs","repos_url":"https://api.github.com/users/cannium/repos","events_url":"https://api.github.com/users/cannium/events{/privacy}","received_events_url":"https://api.github.com/users/cannium/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T08:44:28Z","updated_at":"2015-07-01T10:45:02Z","closed_at":"2015-07-01T10:45:02Z","body":"How to reproduce:\r\n\r\n```\r\n> fs.open('./123','a','666',function(){})\r\nundefined\r\n```\r\n```\r\n$ ll\r\ntotal 32\r\n-rw-r--r--  1 can  staff    0 Jul  1 16:41 123\r\n```\r\n\r\nThe file mode is set to `0666` but created as `0644`, tested on both OS X and CentOS."}}