Revert "linux: Fix saving file with root ownership (#22045)" (#23162)

Release Notes:

- (temporarily) Removes the linux "save file as root" feature while we
figure out bugs.

Updates https://github.com/zed-industries/zed/pull/22045
This commit is contained in:
Conrad Irwin 2025-01-14 22:17:08 -07:00 committed by GitHub
parent e86fe1d0b9
commit 37c2ebed7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 133 deletions

View file

@ -170,13 +170,3 @@ rm ~/.local/zed.app/lib/libcrypto.so.1.1
```
This will force zed to fallback to the system `libssl` and `libcrypto` libraries.
### Editing files requiring root access
When you try to edit files that require root access, Zed requires `pkexec` (part of polkit) to handle authentication prompts.
Polkit comes pre-installed with most desktop environments like GNOME and KDE. If you're using a minimal system and polkit is not installed, you can install it with:
- Ubuntu/Debian: `sudo apt install policykit-1`
- Fedora: `sudo dnf install polkit`
- Arch Linux: `sudo pacman -S polkit`