-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.accessSync() with W_OK throws EPERM for directories in Windows #1397
Comments
This is the source of the problem: https://github.com/libuv/libuv/blob/v1.x/src/win/fs.c#L1315 @saghul in nodejs/node-v0.x-archive#8418 (comment), you said using the cc: @piscisaureus |
Hum, it might not. I'll double check. |
@cjihrig should be fixed in libuv/libuv#316 |
Thanks @saghul! |
Should be fixed by 04cc03b. Closing, holler if I should reopen it. |
Fixes: nodejs#1397 Fixes: nodejs#1512 Fixes: nodejs#1621 Fixes: nodejs#862 PR-URL: nodejs#1646 Reviewed-By: Ben Noordhuis <[email protected]>
iojs 1.6.4 x86 under Windows 8.1 64 bit
The same check for a directory works fine in Linux:
The text was updated successfully, but these errors were encountered: