MasterBuildQuickStart.md write permissions error in Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

MasterBuildQuickStart.md write permissions error in Windows

Postby pedrovicente » Sun Mar 05, 2017 3:05 pm

I am following the instructions

https://bitbucket.org/chromiumembedded/ ... ckStart.md

on this step

cd N:\code\depot_tools
update_depot_tools.bat


there is this error about some write permissions:
[P13352 13:30:24.149 fs.go:329 W] fs: failed to rename("c:\users\pvn\appdata\local\temp\tmpfwikzf\.cipd\pkgs\0\5coMbmd4xDQX\x", "c:\users\pvn\a ppdata\local\temp\tmpfwikzf\.cipd\pkgs\0\bb697cfdd8032992546a85f35f4e57a1ece28e70") - Access is denied. [P13352 13:30:24.151 fs.go:275 W] fs: failed to rename directory c:\users\pvn\appdata\local\temp\tmpfwikzf.cipd\pkgs\0\5coMbmd4xDQX - Access is denied. [P13352 13:30:24.160 client.go:1314 E] Failed to install infra/depot_tools/git_installer/windows-amd64:bb697cfdd8032992546a85f35f4e57a1ece28e70 - Access is d enied. Error: failed to update packages, see the log. Traceback (most recent call last): File "N:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 193, in <module> sys.exit(main(sys.argv[1:])) File "N:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 185, in main install_git(args, git_version, git_directory) File "N:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 103, in install_git 'v' + git_version.replace('.', '_')) File "N:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 65, in cipd_install _check_call(cipd_args) File "N:\code\depot_tools\bootstrap\win\git_bootstrap.py", line 26, in _check_call subprocess.check_call(argv, **kwargs) File "N:\code\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['N:\code\depot_tools\cipd.bat', 'ensure', '-list', 'c:\users\pvn\appdata\local\temp\tmpnfmttx', '-root', 'c :\users\pvn\appdata\local\temp\tmpfwikzf']' returned non-zero exit status 1
pedrovicente
Newbie
 
Posts: 6
Joined: Sun Mar 05, 2017 3:02 pm

Re: MasterBuildQuickStart.md write permissions error in Wind

Postby magreenblatt » Mon Mar 06, 2017 12:01 pm

What Windows version? What user account are you running as? Does that user account have write access to the c:\users\pvn\appdata\local\temp\ folder?
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: MasterBuildQuickStart.md write permissions error in Wind

Postby pedrovicente » Mon Mar 06, 2017 12:29 pm

@magreenblatt

What Windows version?


Windows 7

What user account are you running as? Does that user account have write access to the c:\users\pvn\appdata\local\temp\ folder?


I am running as my user (pvn) and I have admin privileges.
I tried in a shell "as administrator", same result.
I checked if the c:\users\pvn\appdata folders have write permissions for me, they do

I did a search on this, seems not to be related with running as "admin" or not, and it seems it was not resolved

this is a post on a unrelated issue, where the same problem happens,
see post
by magreenblatt » Mon Oct 31, 2016 11:28 am
and the last one

http://www.magpcss.org/ceforum/viewtopi ... 5&start=10
pedrovicente
Newbie
 
Posts: 6
Joined: Sun Mar 05, 2017 3:02 pm


Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot], TakashiHSD and 41 guests