diff --git a/src/win/fs.c b/src/win/fs.c index 34081f27..e8b080fc 100644 --- a/src/win/fs.c +++ b/src/win/fs.c @@ -1465,7 +1465,7 @@ static void fs__create_junction(uv_fs_t* req, const WCHAR* path, /* Open the directory */ handle = CreateFileW(new_path, - GENERIC_ALL, + GENERIC_WRITE, 0, NULL, OPEN_EXISTING,