Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos mojave: “Visual Studio Code” would like to administer your computer. #59484

Closed
huguesalary opened this issue Sep 26, 2018 · 7 comments
Assignees

Comments

@huguesalary
Copy link

@huguesalary huguesalary commented Sep 26, 2018

Issue Type: Bug

On macos Mojave, running code at the command line systematically shows this message:

“Visual Studio Code” would like to administer your computer. 
Administration can include modifying passwords, networking, and system settings.
[Don't Allow] [Ok]

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T07:04:11.329Z)
OS version: Darwin x64 18.0.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 4, 4
Memory (System) 16.00GB (1.17GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron /Volumes/infrastructure
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
asciidoctor-vscode joa 0.15.1
php-cs-fixer jun 0.1.85
Go ms- 0.6.89
@bpasero bpasero self-assigned this Sep 27, 2018
@bpasero

This comment has been minimized.

Copy link
Member

@bpasero bpasero commented Sep 27, 2018

Sounds a bit like #55236. Do you get the same when you run from the Dock?

@huguesalary

This comment has been minimized.

Copy link
Author

@huguesalary huguesalary commented Sep 27, 2018

I do not have the issue when I run from the Dock.

Worth noting I also am not logged in as root nor using sudo. Simply running code under my local user.

@bpasero

This comment has been minimized.

Copy link
Member

@bpasero bpasero commented Sep 27, 2018

@huguesalary yeah, I have not seen this so far and I recently updated to Mojave as well. If you find out anything more about it please let us know.

@ear1grey

This comment has been minimized.

Copy link

@ear1grey ear1grey commented Nov 17, 2018

Same on Mojave when opening projects from command line (non root admin user).
Only occurs if VSCode has had to startup.
image

@oznu

This comment has been minimized.

Copy link

@oznu oznu commented Jan 23, 2019

Same issue here, but only when trying to open the in-app terminal.

image

I found this guide which explained a fix for the same problem in iTerm 2, I have applied the same changes to VS Code and it seems to have fixed the issue.

System Preferences -> Security & Privacy -> Privacy -> Full Disk Access -> Add Code.

image

@firelizzard18

This comment has been minimized.

Copy link

@firelizzard18 firelizzard18 commented Mar 11, 2019

@oznu's solution seems to be working for me

@bpasero

This comment has been minimized.

Copy link
Member

@bpasero bpasero commented Oct 9, 2019

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to the code. As such, I will go ahead and close it. If you can identify the component that is causing the issue, please report it upstream:

Thanks for understanding.

@bpasero bpasero closed this Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.