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

Dotnet commands Permission Denied #123324

Closed
Sherwoodwt opened this issue May 7, 2021 · 3 comments
Closed

Dotnet commands Permission Denied #123324

Sherwoodwt opened this issue May 7, 2021 · 3 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@Sherwoodwt
Copy link

Issue Type: Bug

When debugging a dotnet core 3.1 project through vscode I get the following error. I've checked that the project files have the correct permissions, have tried running vscode with sudo, and reinstalled vscode without fixing this issue.

Rolling back to the previous version fixed the issue, so this appears to be caused by the latest update.

execvp(3) failed.: Permission denied
The terminal process "dotnet 'build', '/Users/a0793132/Documents/services/broker-service/api/BrokerService.API/BrokerService.API.csproj', '/property:GenerateFullPaths=true', '/consoleloggerparameters:NoSummary'" failed to launch (exit code: 1).

VS Code version: Code 1.56.0 (cfa2e21, 2021-05-04T22:06:21.189Z)
OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 32.00GB (11.30GB free)
Process Argv -psn_0_1171742 --crash-reporter-id 1b0498e7-6173-4db4-916d-dbcc45879293
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
gitlens eam 11.4.1
csharp ms- 1.23.11
material-icon-theme PKi 4.6.0

(1 theme extensions excluded)

@isidorn isidorn added the *caused-by-extension Issue identified to be caused by an extension label May 10, 2021
@isidorn
Copy link
Contributor

isidorn commented May 10, 2021

Please file against C# extension, thank you

@superman-lopez
Copy link

superman-lopez commented May 18, 2021

This issue surfaced for me when updating to Version 1.56.2 (from 1.55). Following the response of @isidorn I tried to downgrade the C# extension (from 1.23.11 to 1.23.8) but that had no effect.

Instead I downgraded vs code to version 1.55.2 and the issue has disappeared (while using the latest C# extension version 1.23.11).

also reported in C# extension project dotnet/vscode-csharp#4556


I tried to changing "terminal.integrated.inheritEnv": false to either value without result.
I am using macOS 11.3.1 and my shell is ZSH.
Manually running "dotnet 'build', '/Users/a0793132/Documents/services/broker-service/api/BrokerService.API/BrokerService.API.csproj', '/property:GenerateFullPaths=true', '/consoleloggerparameters:NoSummary'" in the shell doesn't cause a problem. Not sure how to test execvp manually.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

4 participants
@isidorn @Sherwoodwt @superman-lopez and others