New issue
Advanced search Search tips

Issue 603606 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

gclient updates don't deal well with locked files

Project Member Reported by sky@chromium.org, Apr 14 2016

Issue description

Here's what happened when I was updated to the latest:

C:\Users\sky>gclient
Cleaning old git installation c:\src\depot_tools\git-1.9.5.chromium.6_bin
c:\src\depot_tools\git-1.9.5.chromium.6_bin\bin\bash.exe - Access is denied.
c:\src\depot_tools\git-1.9.5.chromium.6_bin\bin\msys-1.0.dll - Access is denied.
Installing git 2.7.4-64 (avg 1-2 min download) ...

Notice the access denied. That's likely because I was running a bash shell out of depot_tools.

I've seen similar errors when the windows sdk is updated and I happen to have a random process around using some file.

Given we know windows locks files that are in use before performing updates we should warn users if they have open files before trying to update files.
 
Cc: iannucci@chromium.org
Labels: -Infra Infra-SDK

Comment 2 by aga...@chromium.org, Apr 26 2016

Components: Infra>SDK
Labels: -Infra-SDK
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 4 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -iannucci@chromium.org iannu...@google.com

Sign in to add a comment