glide
glide copied to clipboard
Fix for "access is denied" errors on Windows
- Using 'robocopy' instead of 'move' to copy files from tmp folder
- robocopy is more robust and has support for long paths, thus providing better experience than xcopy with the same performance.
@mattfarina Glide 0.13 has been giving the access denied errors for some time now. This commit fixes the issue on Windows machines.
this fixed on my Windows machines, thanks.
Is this one solved? I'm still getting error on Windows 10, 64-bit:
D:\WS\Go\src\github.com\uber\go-torch>glide --version
glide version 0.13.2-dev
The error:
d:\WS\Go>cd %GOPATH%/src/github.com/uber/go-torch
D:\WS\Go\src\github.com\uber\go-torch>glide install
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/jessevdk/go-flags
[INFO] --> Fetching github.com/mattn/go-isatty
[INFO] --> Fetching golang.org/x/sys
[INFO] --> Fetching github.com/fatih/color
[INFO] --> Fetching github.com/mattn/go-colorable
[INFO] --> Fetching github.com/stretchr/testify
[INFO] --> Fetching github.com/davecgh/go-spew
[INFO] --> Fetching github.com/pmezard/go-difflib
[INFO] Setting references.
[INFO] --> Setting version for github.com/jessevdk/go-flags to 4e64e4a4e2552194cf594243e23aa9baf3b4297e.
[INFO] --> Setting version for github.com/pmezard/go-difflib to d8ed2627bdf02c080bf22230dbb337003b7aba2d.
[INFO] --> Setting version for github.com/stretchr/testify to 2402e8e7a02fc811447d11f881aa9746cdc57983.
[INFO] --> Setting version for github.com/fatih/color to 42c364ba490082e4815b5222728711b3440603eb.
[INFO] --> Setting version for github.com/mattn/go-isatty to 30a891c33c7cde7b02a981314b4228ec99380cca.
[INFO] --> Setting version for github.com/mattn/go-colorable to d228849504861217f796da67fae4f6e347643f15.
[INFO] --> Setting version for github.com/davecgh/go-spew to 04cdfd42973bb9c8589fd6a731800cf222fde1a9.
[INFO] --> Setting version for golang.org/x/sys to d75a52659825e75fff6158388dddc6a5b04f9ba5.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/fatih/color
[INFO] --> Exporting github.com/mattn/go-colorable
[INFO] --> Exporting github.com/jessevdk/go-flags
[INFO] --> Exporting github.com/mattn/go-isatty
[INFO] --> Exporting github.com/davecgh/go-spew
[INFO] --> Exporting github.com/pmezard/go-difflib
[INFO] --> Exporting github.com/stretchr/testify
[INFO] --> Exporting golang.org/x/sys
[INFO] Replacing existing vendor dependencies
[ERROR] Unable to export dependencies to vendor directory: Error moving files: exit status 1. output: Access is denied.
0 dir(s) moved.
Thanks.
Its not merged, so no. Not resolved yet. You can clone my fork and build it and place the glide.exe in your path
Its not merged, so no. Not resolved yet. You can clone my fork and build it and place the glide.exe in your path
Thanks.
When will merge this fix?
Can you merge this?