windows: change GENERIC_ALL to GENERIC_WRITE in fs__create_junction
Fixes #1385 See ReactOS's mklink implementation and http://stackoverflow.com/a/10508724
This commit is contained in:
parent
c11a598d7c
commit
3d73d55627
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user