-
Notifications
You must be signed in to change notification settings - Fork 7.3k
fs.symlink casues strange errors - EISDIR, EPERM, EEXIST #8920
Comments
I agree that the error codes are weird, and I think I know why. But first:
|
NTFS
No. What I'm doing here is create a symlink from
I launched node from msys console. |
Right, I think the docs are wrong. What's happening is that you're creating a symlink called
I find that very curious, because it shouldn't have any influence and I can't think of any mechanism that could cause it. I think that if you'd try exactly the same again from msys it would fail in the same way. So what we're seeing:
|
The offending doc change clarified nothing, but put the arguments to fs.symlink() and fs.symlinkSync() in the wrong order. This reverts commit 8146f2e. BUG: nodejs#8920
The offending doc change clarified nothing, but put the arguments to fs.symlink() and fs.symlinkSync() in the wrong order. This reverts commit 8146f2e. BUG: nodejs/node-v0.x-archive#8920 PR: nodejs/node-v0.x-archive#8936
README.md
existstmp
is empty directoryfs.symlink
andfs.symlinkSync
are affectedWindows 7
node v0.10.x
,node v0.11.14
The text was updated successfully, but these errors were encountered: