Error: EACCES, permission denied


#1

Whenever I open Atom (on a different user account on OS X). I get the following error message:

    Error: EACCES, permission denied '/tmp/atom-compile-cache/less/62b7a669af25a948e0632eac5cb2bf860f9c0e6e/imports.json'
  at Object.fs.openSync (fs.js:410:18)
  at Object.fs.writeFileSync (fs.js:966:15)
  at Object.fsPlus.writeFileSync (/Applications/Atom.app/Contents/Resources/app/node_modules/fs-plus/lib/fs-plus.js:204:17)
  at LessCache.module.exports.LessCache.writeJson (/Applications/Atom.app/Contents/Resources/app/node_modules/less-cache/lib/less-cache.js:140:17)
  at LessCache.module.exports.LessCache.setImportPaths (/Applications/Atom.app/Contents/Resources/app/node_modules/less-cache/lib/less-cache.js:101:12)
  at new LessCache (/Applications/Atom.app/Contents/Resources/app/node_modules/less-cache/lib/less-cache.js:32:12)
  at new LessCompileCache (/Applications/Atom.app/Contents/Resources/app/src/less-compile-cache.js:28:20)
  at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (/Applications/Atom.app/Contents/Resources/app/src/theme-manager.js:267:26)
  at ThemeManager.module.exports.ThemeManager.loadStylesheet (/Applications/Atom.app/Contents/Resources/app/src/theme-manager.js:257:21)
  at ThemeManager.module.exports.ThemeManager.requireStylesheet (/Applications/Atom.app/Contents/Resources/app/src/theme-manager.js:247:24)
  at ThemeManager.module.exports.ThemeManager.loadBaseStylesheets (/Applications/Atom.app/Contents/Resources/app/src/theme-manager.js:214:12)
  at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:309:19)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:14:8)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:20:4)
  at Module._compile (module.js:455:26)
  at Object.Module._extensions..js (module.js:473:10)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.html?load…alse%2C%22appVersion%22%3A%220.69.0%22%2C%22shellLoadTime%22%3A497%7D:26:9)
 index.html?loadSettings=%7B%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResou…:35
window.onload index.html?loadSettings=%7B%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResou…:35

Any idea of what would cause this? I don’t actually see the message when I open the app, I just get a blank white app window with the HTML Inspector open. I click over to Console and I saw this error


#2

I deleted the entire cache folder by executing this command:

sudo rm -rf /tmp/atom-compile-cache

That seems to have fixed my problem. :smile:
Thanks!