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

Google utils error on stdout redirect within vscode terminal only #138265

Closed
jimsnab opened this issue Dec 1, 2021 · 2 comments
Closed

Google utils error on stdout redirect within vscode terminal only #138265

jimsnab opened this issue Dec 1, 2021 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@jimsnab
Copy link

jimsnab commented Dec 1, 2021

Does this issue occur when all extensions are disabled?: Yes

Version: 1.62.3
Commit: ccbaa2d
Date: 2021-11-17T08:00:36.721Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-40-generic snap

Steps to Reproduce:

  1. Run gsutil ls -b gs://my-bucket > /tmp/x.txt in terminal
    (edit bucket url to something you can access)

Result:

Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
PermissionError: [Errno 13] Permission denied

If this same command is run in a bash terminal outside of vscode, it works fine.

Also, strangely, I am able to redirect output of other things like echo or kubectl. I'm only having this problem with gsutil and gcloud utils.

@Tyriar
Copy link
Member

Tyriar commented Dec 6, 2021

Does this happen when you install the deb or rpm? I suspect it's related to the snap package.

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Dec 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@Tyriar @meganrogge @jimsnab and others