Symlink issue on Windows: A required privilege is not held by the client. #773
Description
What version of Go (go version
) and dep
(git describe --tags
) are you using?
Go 1.9-Beta1 and dep c79b048 on Windows 10 64-bit
What dep
command did you run?
$ dep init
I am using dep init to import the dependency github.com/grpc-ecosystem/go-grpc-middleware
into my project. The dependency has a symlink which breaks dep: https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/auth/README.md
What did you expect to see?
There should be no error and init should work correctly.
What did you see instead?
safe write of manifest and lock: rename fallback failed: cannot rename C:\Users\user\AppData\Local\Temp\dep845567475\vendor to C:\Work\src\github.com\F21\some_project\vendor: copying directory failed: copying directory failed: copying directory failed: copying directory failed: copying directory failed: copying file failed: failed to create symlink C:\Users\user\AppData\Local\Temp\dep845567475\vendor\github.com\mwitkow\go-grpc-middleware\auth\README.md to DOC.md: symlink DOC.md C:\Work\src\github.com\F21\some_project\vendor\github.com\mwitkow\go-grpc-middleware\auth\README.md: A required privilege is not held by the client.