{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4875","labels_url":"https://api.github.com/repos/nodejs/node/issues/4875/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4875/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4875/events","html_url":"https://github.com/nodejs/node/issues/4875","id":128724852,"number":4875,"title":"fs.access show the process No permissions， but also can readFile","user":{"login":"Hi-Rube","id":4507462,"avatar_url":"https://avatars.githubusercontent.com/u/4507462?v=3","gravatar_id":"","url":"https://api.github.com/users/Hi-Rube","html_url":"https://github.com/Hi-Rube","followers_url":"https://api.github.com/users/Hi-Rube/followers","following_url":"https://api.github.com/users/Hi-Rube/following{/other_user}","gists_url":"https://api.github.com/users/Hi-Rube/gists{/gist_id}","starred_url":"https://api.github.com/users/Hi-Rube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hi-Rube/subscriptions","organizations_url":"https://api.github.com/users/Hi-Rube/orgs","repos_url":"https://api.github.com/users/Hi-Rube/repos","events_url":"https://api.github.com/users/Hi-Rube/events{/privacy}","received_events_url":"https://api.github.com/users/Hi-Rube/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/fs","name":"fs","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-26T04:57:45Z","updated_at":"2016-01-26T10:37:04Z","closed_at":"2016-01-26T10:33:08Z","body":"in my computer \r\n\r\n```javascript\r\n\r\nvar fs = require('fs');\r\n\r\nfs.access('/etc/efax.rc', fs.R_OK | fs.W_OK, function (err) {\r\n    console.log(err);\r\n    console.log(err ? 'no access!' : 'can read/write');\r\n});\r\n\r\nconsole.log(fs.readFileSync('/etc/efax.rc'));\r\n\r\n```\r\n\r\nresult :\r\n\r\n```\r\n<Buffer 23 0a 23 20 2f 65 74 63 2f 65 66 61 78 2e 72 63 0a 23 0a 23 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 20 66 6f 72 20 66 61 78 28 31 29 ... >\r\n{ [Error: EACCES: permission denied, access '/etc/efax.rc']\r\n  errno: -13,\r\n  code: 'EACCES',\r\n  syscall: 'access',\r\n  path: '/etc/efax.rc' }\r\nno access!\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/174949794","html_url":"https://github.com/nodejs/node/issues/4875#issuecomment-174949794","issue_url":"https://api.github.com/repos/nodejs/node/issues/4875","id":174949794,"user":{"login":"Hi-Rube","id":4507462,"avatar_url":"https://avatars.githubusercontent.com/u/4507462?v=3","gravatar_id":"","url":"https://api.github.com/users/Hi-Rube","html_url":"https://github.com/Hi-Rube","followers_url":"https://api.github.com/users/Hi-Rube/followers","following_url":"https://api.github.com/users/Hi-Rube/following{/other_user}","gists_url":"https://api.github.com/users/Hi-Rube/gists{/gist_id}","starred_url":"https://api.github.com/users/Hi-Rube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hi-Rube/subscriptions","organizations_url":"https://api.github.com/users/Hi-Rube/orgs","repos_url":"https://api.github.com/users/Hi-Rube/repos","events_url":"https://api.github.com/users/Hi-Rube/events{/privacy}","received_events_url":"https://api.github.com/users/Hi-Rube/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T10:37:04Z","updated_at":"2016-01-26T10:37:04Z","body":"sorry"}}