After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529326 - Gedit should ask for the root password if needed
Gedit should ask for the root password if needed
Status: RESOLVED DUPLICATE of bug 352886
Product: gedit
Classification: Applications
Component: general
2.22.x
Other All
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-22 06:29 UTC by Lisa Denia
Modified: 2008-04-25 21:21 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Lisa Denia 2008-04-22 06:29:16 UTC
Who won't know this situation? You open up a file in /etc using nautilus, it opens the file with gedit, you make your changes, click save and "ohhhw, I forgot to open it as root". So you open a terminal(or alt+f2), sudo gedit /path/to/file and make the changes again.

I think it would be much easier if gedit would just say "Hey, you are not root. Would you like me to save it as root?" and asks for the password.

I also have an idea how to implement that in the GUI. If you opened up the file in gedit without root rights and click save, a dialog popup thingy like this: http://yafu.wh-forum.de/251962541/Bildschirmfoto.png(I took a random binary file to show the form of that dialog) could open, telling you that you have to be root, and if you click on a button inside this dialog it would ask for the password(or take it from the keyring or something like that), and save the file as root.
Maybe it could even be implemented in GVFS itself, so every application could benefit from it.

How do you think about it?

Thanks, 
Lisa Denia
Comment 1 Pavel Šefránek 2008-04-25 21:21:30 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 352886 ***