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

Cannot save as root: unable to find pkexec #109808

Closed
nova-nowiz opened this issue Nov 1, 2020 · 2 comments
Closed

Cannot save as root: unable to find pkexec #109808

nova-nowiz opened this issue Nov 1, 2020 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@nova-nowiz
Copy link

  • VSCode Version:
1.50.1
d2e414d9e4239a252d1ab117bd7067f125afd80a
x64
  • OS Version: NixOS 21.03pre249162.1dc37370c48 (Okapi)

Steps to Reproduce:

  1. Modify a file owned by root
  2. Try saving the file
  3. Click on Retry as Sudo...
  4. Error pops up: Failed to save '...': Unable to find pkexec or kdesudo.

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

The very strange thing is that I can use pkexec code --file-write /path/to/source /path/to/target and it works fine.

@bpasero
Copy link
Member

bpasero commented Nov 1, 2020

This does not sound like a Linux distro we officially support.

/duplicate jorangreef/sudo-prompt#113

@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@bpasero @nova-nowiz and others