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

Can't write the file '/etc/apt/sources.list' #3498

Closed
ZhouJiatai opened this issue Aug 11, 2020 · 1 comment
Closed

Can't write the file '/etc/apt/sources.list' #3498

ZhouJiatai opened this issue Aug 11, 2020 · 1 comment
Labels
wsl Issue in vscode-remote WSL

Comments

@ZhouJiatai
Copy link

ZhouJiatai commented Aug 11, 2020

  • VSCode Version: 1.47.3
  • Local OS Version: 19041.388
  • Remote OS Version: 4.4.0-19041-Microsoft
  • Remote Extension/Connection Type: WSL

Steps to Reproduce:

1.Open WSL (Ubuntu 20.04 LTS), enter "code" plus enter.
2.Open the file (etc/apt/sources.list), edit this file and save it.
3.Then program said,

未能保存“sources.list”: 无法写入文件"vscode-remote://wsl+ubuntu/etc/apt/sources.list"(NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/etc/apt/sources.list')

Why is that? Why I can't save this file??? Please tell me or repair this bug.

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

@github-actions github-actions bot added the wsl Issue in vscode-remote WSL label Aug 11, 2020
@aeschli
Copy link
Contributor

aeschli commented Nov 6, 2020

duplicate of #1688

@aeschli aeschli closed this as completed Nov 6, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

2 participants