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

[Plugin Request] Allow root based files to be edited and then ask for password #1378

Open
advice2020 opened this issue Oct 29, 2024 · 1 comment

Comments

@advice2020
Copy link

I know this is not going to get added / also not something I personally would use all the time but just something I noticed in different programs that I wanted to suggest.
Some editors have the ability to be able to open up root based text files and if any modifications are made a dialog box appears asking for user to enter their password to approve the changes. I assume they are using something like "pkexec" but I am not sure.
Again not something I would use often, but found it convenient at times.
Not sure if any other users would find this helpful / if this could be achieved safely in a plugin form.

I had asked about this for Geany and the maintainer mentioned this would be a place to mention this.
The maintainer also provided a different phrasing that I have pasted below.

"A plugin that copies the root file to a normal copy until it is edited and saved by Geany at which point the plugin can find the root permissions (and password or whatever) and then the root file replaced by the edited copy."

Again if this cannot be achieved safely then probably not worth it, I do not know how this would work.

Thank You

@b4n
Copy link
Member

b4n commented Oct 30, 2024

…or add support for GVFS' admin:// scheme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants