Vscode: MacOS Catalina breaks update check due to permissions check

Created on 12 Oct 2019  Ā·  16Comments  Ā·  Source: microsoft/vscode

  • VSCode Version: 1.37.1
  • OS Version: MacOS 10.15

Steps to Reproduce:

  1. Check for updates

Result:

A popup:

Could not create temporary directory: Permission denied
Source: Update service

I thought I'd work around this by adding Code in the Full Disk Access permission set but it seems you can't add apps there; the "+" is grayed out. Presumably there is some metadata needed on Mac to request permissions.

*duplicate bug help wanted install-update mac macos-catalina needs more info

Most helpful comment

can't install fresh vscode on new MAC OS Catalina
ā€œVisual Studio Codeā€ can’t be opened because Apple cannot check it for malicious software.

All 16 comments

Can not setup on Catalina too.

Having the same issue as above when installing a fresh download in macOS Catalina.

can't install fresh vscode on new MAC OS Catalina
ā€œVisual Studio Codeā€ can’t be opened because Apple cannot check it for malicious software.

can't install fresh vscode on new MAC OS Catalina
ā€œVisual Studio Codeā€ can’t be opened because Apple cannot check it for malicious software.

I have the same issue with macOS Catalina 10.15 (19A602)

cc @bpasero @deepak1556

It could be... but might also be a separate issue regarding update..

@MarshallOfSound heard this before? maybe Squirrel related.

@bpasero is vscode notarized? If not there is no guarantee anything works well on Catalina. Notarization is a hard requirement.

Having the same security error on Catalina. Sad times.

Live Share does not seem to authenticate / login. Collaboration does not seem to work.

Making a note here for you.

@gregg-cbs having the same issue here. live share logs weren't helpful and i'm not seeing any popups about permissions. the hunt continues...

Based on this comment, I was able to run it on Catalina.
Per my understanding, that will -d (delete) the com.apple.quarantine extended attribute from VS Code app.

The com.apple.quarantine extended attributes can be added when:

  • You download a file with a quarantine-aware application, like Safari, Chrome, or Transmission. For a few applications like Firefox, quarantine is forced to be enabled in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist.
  • You extract an archive with an application like Archive Utility or OS X's tar or zip.
  • You create a file with an application that has LSFileQuarantineEnabled set to true in the Info.plist.

I'll treat this as temporary workaround.

can't install fresh vscode on new MAC OS Catalina
ā€œVisual Studio Codeā€ can’t be opened because Apple cannot check it for malicious software.

I have the same issue with macOS Catalina 10.15 (19A602)

@ereichl @hanivic505 This answer worked for me.

Was this page helpful?
0 / 5 - 0 ratings