Issue 1:
[Enter steps to reproduce below:]

Try to save a modified file.

Out of the blue trying to save a file triggered this error, after opening, editing, saving files from the same place for a while. The file is on a samba share. This seems similar to #5518, but in my case there's no sign of the disk having become unavailable. I can open and save other files from the same folder on the same share. But even after that I still can't save the original file.

Atom Version: 0.179.0

System: Microsoft Windows 7 Home Premium

Thrown From: Atom Core

Stack Trace

Uncaught Error: EEXIST, file already exists '\server.\share\dir\dir\src\rsrc\model'

At C:\Program Files (x86)\GitHub Atom\resources\app\src\pane.js:782

Error: EEXIST, file already exists '\\server.\share\dir\dir\src\rsrc\model'
at Error (native)
at Object.fs.mkdirSync (fs.js:752:18)
at Function.sync (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\mkdirp\index.js:55:12)
at Object.fsPlus.writeFileSync (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\fs-plus\lib\fs-plus.js:242:14)
at File.module.exports.File.writeFileSync (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:234:19)
at File.module.exports.File.writeFileWithPrivilegeEscalationSync (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:304:21)
at File.module.exports.File.write (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:293:12)
at TextBuffer.module.exports.TextBuffer.saveAs (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:970:17)
at TextBuffer.module.exports.TextBuffer.save (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:958:19)
at TextEditor.module.exports.TextEditor.save (C:\Program Files (x86)\GitHub Atom\resources\app\src\text-editor.js:620:26)
at Pane.module.exports.Pane.saveItem (C:\Program Files (x86)\GitHub Atom\resources\app\src\pane.js:542:18)
at Pane.module.exports.Pane.saveActiveItem (C:\Program Files (x86)\GitHub Atom\resources\app\src\pane.js:525:19)
at Workspace.module.exports.Workspace.saveActivePaneItem (C:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:679:35)
at atom-workspace.atom.commands.add.core:save (C:\Program Files (x86)\GitHub Atom\resources\app\src\workspace-element.js:295:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Program Files (x86)\GitHub Atom\resources\app\src\command-registry.js:243:29)
at C:\Program Files (x86)\GitHub Atom\resources\app\src\command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:558:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Program Files (x86)\GitHub Atom\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:396:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Program Files (x86)\GitHub Atom\resources\app\src\window-event-handler.js:172:20)

Commands

16x -8:02.8 core:move-down (atom-text-editor.editor.is-focused)
30x -8:01.5 core:move-up (atom-text-editor.editor.is-focused)
25x -7:57.4 core:move-down (atom-text-editor.editor.is-focused)
26x -7:53.8 core:move-up (atom-text-editor.editor.is-focused)
15x -7:35.7 core:move-down (atom-text-editor.editor.is-focused)
-7:31.6 editor:newline (atom-text-editor.editor.is-focused)
-7:31.0 core:save (atom-text-editor.editor.is-focused)
20x -7:29.1 core:move-down (atom-text-editor.editor.is-focused)
-7:16.8 core:save (atom-text-editor.editor.is-focused)
3x -7:07.9 core:move-up (atom-text-editor.editor.is-focused)
2x -7:07.3 core:save (atom-text-editor.editor.is-focused)
-0:15.3 window:toggle-dev-tools (atom-text-editor.editor.is-focused)
-0:05.2 find-and-replace:show (atom-text-editor.editor.is-focused)
-0:04.5 editor:consolidate-selections (atom-text-editor.editor.mini)
-0:04.5 core:cancel (atom-text-editor.editor.mini)
-0:03.8 core:save (atom-text-editor.editor.is-focused)

Config

{
"core": {
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"Thumbs.db",
"bower_components",
"node_modules"
]
},
"editor": {
"fontSize": 13,
"autoIndentOnPaste": false,
"softWrap": true,
"invisibles": {},
"softWrapAtPreferredLineLength": true
}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Issue 2:
[Enter steps to reproduce below:]

I just saved a file, project is on a remote mounted disk(FTP)

Atom Version: 0.179.0

System: Mac OS X 10.10.2

Thrown From: Atom Core

Stack Trace

Uncaught Error: EEXIST, file already exists '/Volumes/xxxxxx.com/assets/templates/site/js/custom'

At /Applications/Atom.app/Contents/Resources/app/src/pane.js:782

Error: EEXIST, file already exists '/Volumes/xxxxxx.com/assets/templates/site/js/custom'
at Error (native)
at Object.fs.mkdirSync (fs.js:752:18)
at Function.sync (/Applications/Atom.app/Contents/Resources/app/node_modules/mkdirp/index.js:55:12)
at Object.fsPlus.writeFileSync (/Applications/Atom.app/Contents/Resources/app/node_modules/fs-plus/lib/fs-plus.js:242:14)
at File.module.exports.File.writeFileSync (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:234:19)
at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:304:21)
at File.module.exports.File.write (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:293:12)
at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:970:17)
at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:958:19)
at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:620:26)
at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:542:18)
at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:525:19)
at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:679:35)
at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:295:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:172:20)

Commands

-0:19.5 editor:indent (atom-text-editor.editor)
-0:18.9 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-0:18.9 editor:newline (atom-text-editor.editor)
-0:18.7 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-0:18.7 editor:newline (atom-text-editor.editor)
-0:18.6 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-0:18.6 editor:newline (atom-text-editor.editor)
-0:18.4 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-0:18.4 editor:newline (atom-text-editor.editor)
3x -0:18.1 core:move-up (atom-text-editor.editor)
-0:17.5 core:paste (atom-text-editor.editor)
-0:14.5 emmet:toggle-comment (atom-text-editor.editor)
-0:14.5 editor:toggle-line-comments (atom-text-editor.editor)
-0:11.2 core:copy (atom-text-editor.editor)
-0:09.4 core:paste (atom-text-editor.editor)
-0:08.2 core:save (atom-text-editor.editor)

Config

{
"core": {
"disabledPackages": [
"symbols-view"
]
},
"editor": {
"showInvisibles": true,
"showIndentGuide": true,
"tabLength": 4,
"softWrap": true,
"softTabs": false,
"invisibles": {}
}
}

Installed Packages

# User
.bin, vundefined
Sublime-Style-Column-Selection, v1.2.3
atom-beautify, v0.21.3
atom-ctags, v2.6.0
autoclose-html, v0.15.0
emmet, v2.3.3
highlight-selected, v0.7.0
html-entities, v0.3.1
less-autocompile, v0.3.3
linter, v0.11.1
linter-csslint, v0.0.11
linter-jshint, v0.1.0
linter-less, v0.3.1
linter-php, v0.0.11
red-wavy-underline, v0.2.4
todo-show, v0.8.0
white-cursor, v0.5.2

# Dev
No dev packages