Vscode cannot open terminal


> [Failed to save 'file': A system error occured (EACCES: permission denied, open 'file path') · Issue #17860 · microsoft/vscode](https://github.com/Microsoft/vscode/issues/17860)


```typesudo chown -R $USER <directory_project>```

or


> [terminal.integrated.inheritEnv breaks integrated terminal · Issue #76542 · microsoft/vscode](https://github.com/microsoft/vscode/issues/76542)


```type"terminal.integrated.inheritEnv": false or true```




