Skip to content

'Retry As Sudo' doesn't work to save a file #70403

@lord-soth

Description

@lord-soth
  • VSCode Version: 1.32.1
  • OS Version: Arch Linux 5.0.0-arch1-1-ARCH

Steps to Reproduce:

  1. Open and edit a file with root write permission
  2. Try to save it

When I try to edit and save a file with root permissions a prompt appears saying Failed to save httpd.conf. Insufficient permissions. Select Retry as Sudo to retry as superuser. When I click Retry as Sudo button same prompt reappears and file isn't saved. Prompt reappears every time I click the button.

I don't know if its relevant but I edited my sudoers file so sudo doesn't ask me for password:
alp ALL=(ALL) NOPASSWD: ALL

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

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from posterupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions