Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #10094: gedit should ask for password when editing root files

bug This idea is a duplicate of Idea #1059: Administrative mode for gedit.
Written by everlasting.puneet the 20 Jun 08 at 12:17. Category: System. Related project: Nothing/Others. Status: New
Rationale
this is a general problem i face when i usually edit root files like /etc/fstab gedit can open it as read mode but if i have to edit it i have to manually open "sudo gedit" in super user mode ... if instead of this gedit may ask for password on pressing ctrl+s i.e saving the file it would be great

i want to say instead of showing an error message like this :

http://opensourcepsl.blogspot.com/2008/06/gedit-error-message.html

it should ask for the rook password..
Tags: (none)

176
votes
closed
Solution #1: Auto-generated solution of idea #10094
Written by everlasting.puneet the 20 Jun 08 at 12:17.
Ubuntu Brainstorm was updated in January 2009. Since the idea #10094 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Auzy wrote on the 20 Jun 08 at 12:23
Dupe of http://brainstorm.ubuntu.com/idea/1059/

gsiliceo wrote on the 20 Jun 08 at 18:49
Basically integrate it with policy kit.

Tuxoid wrote on the 20 Jun 08 at 19:55
+1

this should also apply to images used for icon themes

drinkypoo wrote on the 22 Jun 08 at 14:47
Not doing this is a feature, not a bug. The user may well want to view the file in gedit, but not have edit privileges. If they want edit privileges, they can sudo gedit.

Remember, you can open nautilus as root. If root has a different GTKRC then the windows will even look different (if you are using metacity, or compiz with the default gtk-window-decorator.)

syberjj wrote on the 22 Jun 08 at 17:29
dudr, we dont want to have to open programs "as root".
It should be possible to work with ubuntu without having to open the console every 5 mins!
+1 on this idea

maybe make this a universal thing? make all things ask for password when needed. Im sick of having to use "chmob 777 -R" every time i get a new device added to my system.

everlasting.puneet wrote on the 25 Jun 08 at 09:45
@ drinkypoo
it can be a feature but then again it makes things for newbies complicated.
and giving a warning and then asking for password before saving will save lots of time ..
and time is money dude..


Post your comment