-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
RFE/Linux: polkit integration #13585
Comments
Here's a similar issue for MacOS: |
For reference, this sort of thing is generally accomplished in the following way on most Linux distributions (IE, using systemd/dbus/polkit)
So from the perspective of Zed, what needs to be changed to handle this is the following:
References:
And this is how it's implemented in Kate:
Footnotes
|
Check for existing issues
Describe the feature
Currently on linux, zed has no way to prompt for elevated permissions (root) if the user does not have the permissions to write/read a file.
This is traditionally done with a request to polkit over dbus which will then prompt the user to input the superuser password in order to successfully perform the operation.
This is useful when attempting to use zed to update config files in the /etc/ directory, or, attempting to open files the user doesn't have read permission on, as some examples.
#10423 is a tangibly related issue for macos, however this request is for linux.
If applicable, add mockups / screenshots to help present your vision of the feature
Example of a polkit prompt
The text was updated successfully, but these errors were encountered: