{"action":"closed","issue":{"url":"https://api.github.com/repos/frida/frida-gum/issues/110","labels_url":"https://api.github.com/repos/frida/frida-gum/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/frida/frida-gum/issues/110/comments","events_url":"https://api.github.com/repos/frida/frida-gum/issues/110/events","html_url":"https://github.com/frida/frida-gum/issues/110","id":108345579,"number":110,"title":"File API not working","user":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T15:15:45Z","updated_at":"2015-10-01T17:58:29Z","closed_at":"2015-10-01T17:58:29Z","body":"This code:\r\n\r\n```js\r\nvar fh = new File(\"/tmp/msg.txt\", \"rw\");\r\nfh.write (\"Hello World\\n\");\r\nfh.close();\r\n```\r\n\r\nresults into:\r\n```\r\nERROR: TypeError: File: failed to open file (No such file or directory)\r\n```\r\nafter `touch /tmp/msg.txt` I get:\r\n```\r\nERROR: TypeError: File: failed to open file (Operation not permitted)\r\n```\r\neven if the file is `chmod 666`"}}