{"action":"created","issue":{"url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/2","repository_url":"https://api.github.com/repos/BrownBear2/atom-save-all","labels_url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/2/comments","events_url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/2/events","html_url":"https://github.com/BrownBear2/atom-save-all/issues/2","id":140195513,"number":2,"title":"Uncaught Error: EACCES: permission denied, open '/home/papajohn/repos/udemyrails/first/app/contro...","user":{"login":"rssawhney","id":13061987,"avatar_url":"https://avatars.githubusercontent.com/u/13061987?v=3","gravatar_id":"","url":"https://api.github.com/users/rssawhney","html_url":"https://github.com/rssawhney","followers_url":"https://api.github.com/users/rssawhney/followers","following_url":"https://api.github.com/users/rssawhney/following{/other_user}","gists_url":"https://api.github.com/users/rssawhney/gists{/gist_id}","starred_url":"https://api.github.com/users/rssawhney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rssawhney/subscriptions","organizations_url":"https://api.github.com/users/rssawhney/orgs","repos_url":"https://api.github.com/users/rssawhney/repos","events_url":"https://api.github.com/users/rssawhney/events{/privacy}","received_events_url":"https://api.github.com/users/rssawhney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-11T14:23:09Z","updated_at":"2016-03-17T17:32:37Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.6.0-beta8\r\n**System**: Ubuntu 14.04.4\r\n**Thrown From**: [atom-save-all](https://github.com/BrownBear2/atom-save-all) package, v0.4.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: EACCES: permission denied, open '/home/papajohn/repos/udemyrails/first/app/controllers/articles_controller.rb'\r\n\r\n```\r\nAt /usr/local/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1068\r\n\r\nError: EACCES: permission denied, open '/home/papajohn/repos/udemyrails/first/app/controllers/articles_controller.rb'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:549:18)\r\n    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)\r\n    at Object.fs.writeFileSync (fs.js:1171:15)\r\n    at Object.fsPlus.writeFileSync (/usr/local/share/atom-beta/resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:279:17)\r\n    at File.module.exports.File.writeFileSync (/usr/local/share/atom-beta/resources/app.asar/node_modules/pathwatcher/lib/file.js:282:19)\r\n    at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/usr/local/share/atom-beta/resources/app.asar/node_modules/pathwatcher/lib/file.js:398:21)\r\n    at File.module.exports.File.writeSync (/usr/local/share/atom-beta/resources/app.asar/node_modules/pathwatcher/lib/file.js:355:12)\r\n    at TextBuffer.module.exports.TextBuffer.saveAs (/usr/local/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1059:19)\r\n    at TextBuffer.module.exports.TextBuffer.save (/usr/local/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1043:19)\r\n    at TextEditor.module.exports.TextEditor.save (/usr/local/share/atom-beta/resources/app.asar/src/text-editor.js:629:26)\r\n    at Object.module.exports.AtomSaveAll.saveAll (/home/papajohn/.atom/packages/atom-save-all/lib/atom-save-all.coffee:18:18)\r\n    at atom-text-editor.<anonymous> (/home/papajohn/.atom/packages/atom-save-all/lib/atom-save-all.coffee:6:72)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/local/share/atom-beta/resources/app.asar/src/command-registry.js:260:29)\r\n    at /usr/local/share/atom-beta/resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/local/share/atom-beta/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/local/share/atom-beta/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/local/share/atom-beta/resources/app.asar/src/window-event-handler.js:97:36)\r\n    at HTMLDocument.<anonymous> (/usr/local/share/atom-beta/resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -4:55.2.0 atom-save-all:saveAll (atom-text-editor.editor.is-focused)\r\n  3x -4:41.8.0 core:select-down (atom-text-editor.editor.is-focused)\r\n     -4:40.3.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)\r\n     -4:39.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -4:39.6.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -4:39.6.0 editor:indent (atom-text-editor.editor.is-focused)\r\n     -4:36.1.0 atom-save-all:saveAll (atom-text-editor.editor.is-focused)\r\n     -3:51.5.0 find-and-replace:show (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n  6x -3:46 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -3:03.3.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -3:03.3.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -3:01.1.0 core:delete (atom-text-editor.editor.is-focused)\r\n  5x -3:00.7.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  3x -2:57 atom-save-all:saveAll (atom-text-editor.editor.is-focused)\r\n     -1:42.8.0 core:undo (atom-text-editor.editor.is-focused)\r\n 23x -1:39.6.0 atom-save-all:saveAll (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"seti-ui\",\r\n      \"atom-material-syntax-dark\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-material-syntax-dark, v0.2.3\r\natom-save-all, v0.4.1\r\ncolor-picker, v2.1.1\r\nfile-icons, v1.6.18\r\nhighlight-selected, v0.11.2\r\nlinter, v1.11.3\r\npigments, v0.24.5\r\nseti-ui, v0.9.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/comments/197989981","html_url":"https://github.com/BrownBear2/atom-save-all/issues/2#issuecomment-197989981","issue_url":"https://api.github.com/repos/BrownBear2/atom-save-all/issues/2","id":197989981,"user":{"login":"BrownBear2","id":6657389,"avatar_url":"https://avatars.githubusercontent.com/u/6657389?v=3","gravatar_id":"","url":"https://api.github.com/users/BrownBear2","html_url":"https://github.com/BrownBear2","followers_url":"https://api.github.com/users/BrownBear2/followers","following_url":"https://api.github.com/users/BrownBear2/following{/other_user}","gists_url":"https://api.github.com/users/BrownBear2/gists{/gist_id}","starred_url":"https://api.github.com/users/BrownBear2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrownBear2/subscriptions","organizations_url":"https://api.github.com/users/BrownBear2/orgs","repos_url":"https://api.github.com/users/BrownBear2/repos","events_url":"https://api.github.com/users/BrownBear2/events{/privacy}","received_events_url":"https://api.github.com/users/BrownBear2/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T17:32:37Z","updated_at":"2016-03-17T17:32:37Z","body":"I assume you had opened a file that you had no write access to. I guess it should not save these files ie. ignore the exception?"}}