-
Notifications
You must be signed in to change notification settings - Fork 65
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
[BUG] Cosmic Edit Fails to Run as sudo #249
Comments
can i add on to this lets have it also auto request sudo permissions when needed? |
Why would it be needed when I |
Because not everybody wants to type in a terminal command every time they want to make a tweak to a setting that requires admin privileges. Kwrite already has this in place so I don't see why. Cosmic can't do it too |
This update addresses the issue where users couldn't open Cosmic Edit as root. It allows users to save read-only or root files using pkexec for privilege escalation, all within the graphical interface of Cosmic Edit, eliminating the need to open the terminal. Changes: Implemented pkexec functionality for saving read-only/root files. Added a confirmation dialog for file modifications. This feature resolves issue pop-os#249 and streamlines the process, ensuring a smoother experience for users managing protected files directly within Cosmic Edit.
@LethalManBoob @iamkartiknayak |
Cosmic-edit version:
Issue/Bug description:
Cosmic Edit does not launch when attempted to be run with sudo. This is problematic when trying to edit files that require root privileges, such as system configuration files.
Steps to reproduce:
N/A
Expected behavior:
Cosmic Edit should be able to run with elevated privileges using sudo, allowing users to edit files that require root access.
Other notes:
The text was updated successfully, but these errors were encountered: