-
Notifications
You must be signed in to change notification settings - Fork 7.3k
windows: fs.symlink raising EPERM #6342
Comments
Do you have enough permission? |
EPERM means 'permission denied.' The default security policy allows only administrators to create symbolic links. |
Yes, as admin, I am able to create symlink just fine. So this bug report indeed is a user error. |
By the way, if you're going to deploy on Windows - you can run your application as a regular user, you just need to tweak the security policy a little. |
Ben, is it possible to deploy on Windows as a regular user and run as a regular user and tweak the security policy to allow symlinking as you say? How would one do this? |
http://superuser.com/questions/104845/permission-to-make-symbolic-links-in-windows-7 - that's for Windows 7 but the same principle applies to older Windows versions, you adjust the group policy setting. |
Thanks Ben On 11 Jun 2014, at 2:04 PM, joyent/node reply@reply.github.com wrote: http://superuser.com/questions/104845/permission-to-make-symbolic-links-in-windows-7 - that's for Windows 7 but the same principle applies to older Windows versions, you adjust the group policy setting. |
I am using Windows 7 Home Premium and issue is still reproducible after adjusting the group policy setting. |
Found reason why it didn't work for me , because used user was in Administrator group:
|
Similar to Issue#4952.
I get same result with two different versions of node that I tried. Obviously only difference is the version shown: 'v0.10.5' (when installed version of node is run), or, with the locally built latest node executable ( 'v0.11.8-pre') on Windows 8 with MS Visual Studio 2012.
The text was updated successfully, but these errors were encountered: