You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable buginstall-updateVS Code installation and upgrade system issuesmacosIssues with VS Code on MAC/OS X
Run 'Check for updates' from 'Code' menu
See error message "Could not create temporary directory: Permission denied"
Same problem when run with code --disable-extensions
VMWare Airwatch is installed, which may be the issue (but not for certain)
Running as System Administrator. Installed as System Administrator
This was previously raised as issue #42231, but was requested to test new version
Confirming issue on VSCode 1.19.2, also OSX 10.13.3. No Airwatch installed.
Is VSCode failing silently when it's "automatically" checking for updates? Any way to make that verbose?
Any log files somebody might be interested in?
Somehow VSCode just updated to v1.20.1.
I did try to update by running VSCode as root (yesterday), but that didn't work out. It might be possible the files where downloaded as root, and VSCode (non-rooted) only discovered them today.
No system restart or VSCode restart. I did switch workspaces. (Though the update pop-up came in after +30 minutes after switching)
To solve this issue, I followed the advice in #7426 (comment): check that permissions for the VSCode cache folders are correct (depending on your vscode version):
ls -la ~/Library/Caches/com.microsoft.VSCode.*/
ls -la ~/Library/Caches/com.microsoft.VSCodeInsiders.*/
If they are not correctly owned (in my case, the ShipIt folder was empty and it was owned by root for some reason), I removed it (update: depending on your case, choose the right line):
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable buginstall-updateVS Code installation and upgrade system issuesmacosIssues with VS Code on MAC/OS X
Activity
vscodebot commentedon Feb 16, 2018
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
vandijkstef commentedon Feb 16, 2018
Confirming issue on VSCode 1.19.2, also OSX 10.13.3. No Airwatch installed.
Is VSCode failing silently when it's "automatically" checking for updates? Any way to make that verbose?
Any log files somebody might be interested in?
vandijkstef commentedon Feb 21, 2018
Somehow VSCode just updated to v1.20.1.
I did try to update by running VSCode as root (yesterday), but that didn't work out. It might be possible the files where downloaded as root, and VSCode (non-rooted) only discovered them today.
No system restart or VSCode restart. I did switch workspaces. (Though the update pop-up came in after +30 minutes after switching)
maelvls commentedon Jun 7, 2018
To solve this issue, I followed the advice in #7426 (comment): check that permissions for the VSCode cache folders are correct (depending on your vscode version):
If they are not correctly owned (in my case, the ShipIt folder was empty and it was owned by root for some reason), I removed it (update: depending on your case, choose the right line):
gmclelland commentedon Jul 6, 2018
Thanks @maelvalais!
Fixed the problem for my vscode not updating. Before it would simply say "Downloading," but would never finish.
joaomoreno commentedon Sep 19, 2018
/duplicate #7426
vscodebot commentedon Sep 19, 2018
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Happy Coding!