Hi.
We were installing the depot_tools following steps from https://www.chromium.org/developers/how-tos/install-depot-tools on Windows environment.
When running gclient (As Administrator) we get this error:
[P8768 17:35:54.194 fs.go:290 W] fs: failed to rename(c:\users\dovk\appdata\local\temp\tmptjilab\.cipd\pkgs\5zs6D0TNxz\358652122\x,c:\users\dovk\appdata\local\temp\tmptjilab\.cipd\pkgs\5zs6D0TNxz\aa854a934e4d7fb24cc10b5d8b6f105494e16362) - Access is denied.
[P8768 17:35:54.194 fs.go:240 W] fs: failed to rename directory c:\users\dovk\appdata\local\temp\tmptjilab\.cipd\pkgs\5zs6D0TNxz\358652122 - Access is denied.
[P8768 17:35:54.244 client.go:997 E] Failed to install infra/depot_tools/git_installer/windows-amd64:aa854a934e4d7fb24cc10b5d8b6f105494e16362 - Access is denied
.
Error: failed to update packages, see the log.
Traceback (most recent call last):
File "C:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 203, in <module> sys.exit(main(sys.argv[1:]))
File "C:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 195, in main install_git(args, git_version, git_directory)
File "C:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 115, in install_git 'v' + git_version.replace('.', '_'))
File "C:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 74, in cipd_install _check_call(cipd_args)
File "C:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 24, in _check_call subprocess.check_call(argv, **kwargs)
File "C:\code\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\code\\depot_tools\\cipd', 'ensure', '-list', 'c:\\users\\dovk\\appdata\\local\\temp\\tmpdts4ui', '-root', 'c:\\users\\dovk\\appdata\\local\\temp\\tmptjilab']' returned non-zero exit status 1
Usage: gclient.py <command> [options]
How can we proceed and avoid these errors.
Thanks!