<p dir="auto">Uncaught Exception:<br>
Error: EPERM, operation not permitted '/tmp/atom.sock'<br>
at Error (native)<br>
at Object.fs.unlinkSync (fs.js:807:18)<br>
at AtomApplication.module.exports.AtomApplication.deleteSocketFile (/usr/share/atom/resources/app/src/browser/atom-application.js:193:21)<br>
at AtomApplication.module.exports.AtomApplication.listenForArgumentsFromNewProcess (/usr/share/atom/resources/app/src/browser/atom-application.js:172:12)<br>
at new AtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:88:12)<br>
at Socket.createAtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:43:16)<br>
at Socket.emit (events.js:107:17)<br>
at net.js:436:14<br>
at process._tickCallback (node.js:378:11)</p>
<p dir="auto">Whenever I try to start atom, I get this error.</p>
<p dir="auto">Running on: Archlinux 64 bit.<br>
Atom version is 0.165.0-1</p>
<p dir="auto">When I start it from my user, it gives me this error:</p>
<p dir="auto"><strong>A JavaScript error occured in the browser process</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught Exception:
Error: EPERM, operation not permitted '/tmp/atom.sock'
    at Error (native)
    at Object.fs.unlinkSync (fs.js:807:18)
    at AtomApplication.module.exports.AtomApplication.deleteSocketFile (/usr/share/atom/resources/app/src/browser/atom-application.js:193:21)
    at AtomApplication.module.exports.AtomApplication.listenForArgumentsFromNewProcess (/usr/share/atom/resources/app/src/browser/atom-application.js:172:12)
    at new AtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:88:12)
    at Socket.createAtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:43:16)
    at Socket.emit (events.js:107:17)
    at net.js:436:14
    at process._tickCallback (node.js:378:11)"><pre class="notranslate"><code class="notranslate">Uncaught Exception:
Error: EPERM, operation not permitted '/tmp/atom.sock'
    at Error (native)
    at Object.fs.unlinkSync (fs.js:807:18)
    at AtomApplication.module.exports.AtomApplication.deleteSocketFile (/usr/share/atom/resources/app/src/browser/atom-application.js:193:21)
    at AtomApplication.module.exports.AtomApplication.listenForArgumentsFromNewProcess (/usr/share/atom/resources/app/src/browser/atom-application.js:172:12)
    at new AtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:88:12)
    at Socket.createAtomApplication (/usr/share/atom/resources/app/src/browser/atom-application.js:43:16)
    at Socket.emit (events.js:107:17)
    at net.js:436:14
    at process._tickCallback (node.js:378:11)
</code></pre></div>
<p dir="auto">Once I close this message, a debug tools window launches:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/140983/5234076/d9fed9d4-77bb-11e4-88c2-b371410254d6.png"><img src="https://cloud.githubusercontent.com/assets/140983/5234076/d9fed9d4-77bb-11e4-88c2-b371410254d6.png" alt="atom_debug_tools" style="max-width: 100%;"></a></p>
<p dir="auto">However, when I start it as root, it launches just fine. Except it is running as root, of course.</p>