<p dir="auto">This happens when I'm trying to write a file directly in a remote FTP directory.</p>
<ol dir="auto">
<li>Try to open a remote FTP folder through Nautilus (Linux/Gnome).</li>
<li>Open a file from this folder with Atom.</li>
<li>Write something and save.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.194.0<br>
<strong>System</strong>: linux 3.19.3-3-ARCH<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ESPIPE: invalid seek, write</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /usr/share/atom/resources/app.asar/src/pane.js:759

Error: ESPIPE: invalid seek, write
  at Error (native)
  at Object.fs.writeSync (fs.js:657:20)
  at Object.fs.writeFileSync (fs.js:1164:21)
  at Object.fsPlus.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:240:17)
  at File.module.exports.File.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:264:19)
  at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:362:21)
  at File.module.exports.File.writeSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:336:12)
  at TextBuffer.module.exports.TextBuffer.saveAs (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:913:17)
  at TextBuffer.module.exports.TextBuffer.save (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:899:19)
  at TextEditor.module.exports.TextEditor.save (/usr/share/atom/resources/app.asar/src/text-editor.js:554:26)
  at Pane.module.exports.Pane.saveItem (/usr/share/atom/resources/app.asar/src/pane.js:523:18)
  at Pane.module.exports.Pane.saveActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:506:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/usr/share/atom/resources/app.asar/src/workspace.js:574:35)
  at atom-workspace.atom.commands.add.core:save (/usr/share/atom/resources/app.asar/src/workspace-element.js:310:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:238:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:178:20)
"><pre class="notranslate"><code class="notranslate">At /usr/share/atom/resources/app.asar/src/pane.js:759

Error: ESPIPE: invalid seek, write
  at Error (native)
  at Object.fs.writeSync (fs.js:657:20)
  at Object.fs.writeFileSync (fs.js:1164:21)
  at Object.fsPlus.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:240:17)
  at File.module.exports.File.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:264:19)
  at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:362:21)
  at File.module.exports.File.writeSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:336:12)
  at TextBuffer.module.exports.TextBuffer.saveAs (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:913:17)
  at TextBuffer.module.exports.TextBuffer.save (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:899:19)
  at TextEditor.module.exports.TextEditor.save (/usr/share/atom/resources/app.asar/src/text-editor.js:554:26)
  at Pane.module.exports.Pane.saveItem (/usr/share/atom/resources/app.asar/src/pane.js:523:18)
  at Pane.module.exports.Pane.saveActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:506:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/usr/share/atom/resources/app.asar/src/workspace.js:574:35)
  at atom-workspace.atom.commands.add.core:save (/usr/share/atom/resources/app.asar/src/workspace-element.js:310:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:238:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:178:20)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -0:01.8.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate">     -0:01.8.0 core:save (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;followSymlinks&quot;: true,
    &quot;autoHideMenuBar&quot;: true,
    &quot;themes&quot;: [
      &quot;one-light-ui&quot;,
      &quot;atom-light-syntax&quot;
    ]
  },
  &quot;editor&quot;: {
    &quot;fontFamily&quot;: &quot;Monaco&quot;,
    &quot;showIndentGuide&quot;: true,
    &quot;tabLength&quot;: 4,
    &quot;useShadowDOM&quot;: true,
    &quot;invisibles&quot;: {},
    &quot;fontSize&quot;: 12
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"followSymlinks"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"themes"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>one-light-ui<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>atom-light-syntax<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"fontFamily"</span>: <span class="pl-s"><span class="pl-pds">"</span>Monaco<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
    <span class="pl-ent">"useShadowDOM"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">12</span>
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
angularjs, v0.2.0
atom-beautify, v0.24.1
atom-html-preview, v0.1.6
atomui, vundefined
autoclose-html, v0.15.0
color-picker, v1.7.0
docblockr, v0.6.3
html-helper, v0.2.3
laravel, v0.4.2
script, v2.19.0
terminal-panel, v1.10.0

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
angularjs, v0.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">24</span>.<span class="pl-ii">1</span>
atom<span class="pl-k">-</span>html<span class="pl-k">-</span>preview, v0.<span class="pl-ii">1</span>.<span class="pl-ii">6</span>
atomui, vundefined
autoclose<span class="pl-k">-</span>html, v0.<span class="pl-ii">15</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
docblockr, v0.<span class="pl-ii">6</span>.<span class="pl-ii">3</span>
html<span class="pl-k">-</span>helper, v0.<span class="pl-ii">2</span>.<span class="pl-ii">3</span>
laravel, v0.<span class="pl-ii">4</span>.<span class="pl-ii">2</span>
script, v2.<span class="pl-ii">19</span>.<span class="pl-ii">0</span>
terminal<span class="pl-k">-</span>panel, v1.<span class="pl-ii">10</span>.<span class="pl-ii">0</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Title pretty much sums it up. No problems saving to a regular file system. SSHFS is fine too. I'm on Ubuntu 14.04 x64. I've encountered this error in various .99, .100, and .101 builds from the master branch.</p>