<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>5.0.0</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Manjaro 18.0.2 (also tested on 18.0.4)</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>:
<ul dir="auto">
<li>4.1.4</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>

<p dir="auto">Create a new Window and start the app.</p>
<h3 dir="auto">Actual Behavior</h3>

<p dir="auto">Exit with an error:<br>
[2543:0428/133247.138100:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/user/myApp/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.</p>
<h3 dir="auto">To Reproduce</h3>

<p dir="auto">Just change the electron version in package.json to "5.0.0" and run <code class="notranslate">npm install electron@5.0.0 &amp;&amp; npm start</code></p>


<h3 dir="auto">Screenshots</h3>

<p dir="auto">N/A</p>
<h3 dir="auto">Additional Information</h3>

<p dir="auto">The app runs perfectly on Ubuntu based distros.</p>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>5.0.0</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Arch Linux x64</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>:
<ul dir="auto">
<li>4.1.5</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Running <code class="notranslate">node_modules/.bin/electron --version</code> should output <code class="notranslate">v5.0.0</code>.</p>
<p dir="auto">To be clear, <em>all</em> commands create this error, but I'm using the <code class="notranslate">--version</code> flag for simplicity.</p>
<h3 dir="auto">Actual Behavior</h3>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ node_modules/.bin/electron --version
[2720:0425/142001.775056:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755."><pre class="notranslate">$ <span class="pl-s1">node_modules/.bin/electron --version</span>
<span class="pl-c1">[2720:0425/142001.775056:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.</span></pre></div>
<h3 dir="auto">Additional Information</h3>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ stat /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox
  Size: 5185424   	Blocks: 10128      IO Block: 4096   regular file
Device: 802h/2050d	Inode: 1465270     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/christianbundy)   Gid: ( 1000/christianbundy)
Access: 2019-04-25 14:15:10.609279524 -0700
Modify: 2019-04-25 14:15:10.659278929 -0700
Change: 2019-04-25 14:15:10.659278929 -0700
 Birth: 2019-04-25 14:15:10.609279524 -0700"><pre class="notranslate">$ <span class="pl-s1">stat /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox</span>
<span class="pl-c1">  Size: 5185424   	Blocks: 10128      IO Block: 4096   regular file</span>
<span class="pl-c1">Device: 802h/2050d	Inode: 1465270     Links: 1</span>
<span class="pl-c1">Access: (0755/-rwxr-xr-x)  Uid: ( 1000/christianbundy)   Gid: ( 1000/christianbundy)</span>
<span class="pl-c1">Access: 2019-04-25 14:15:10.609279524 -0700</span>
<span class="pl-c1">Modify: 2019-04-25 14:15:10.659278929 -0700</span>
<span class="pl-c1">Change: 2019-04-25 14:15:10.659278929 -0700</span>
<span class="pl-c1"> Birth: 2019-04-25 14:15:10.609279524 -0700</span></pre></div>
<p dir="auto">If I <code class="notranslate">chown</code> and <code class="notranslate">chmod</code> the file then it works fine, but my intuition is that <code class="notranslate">npm install electron@latest</code> should work without those commands. Is this expected behavior?</p>