← Back to team overview

desktop-packages team mailing list archive

[Bug 1300004] Re: gedit does not elevate privileges while it's being launched

 

I realize it's not a bug but a feature request, still I'd very much like it to be implemented. 
It's easy to forget running gedit with sudo when trying to create new files in directories you don't have write rights to. I believe many users new to Ubuntu can relate. This feature would be a great step towards more usability. Another possibility would be a warning if you are editing a file you don't have write access to.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1300004

Title:
  gedit does not elevate privileges while it's being launched

Status in gedit package in Ubuntu:
  Confirmed

Bug description:
  When I run gedit as normal user and try to change some file inside a
  system (for example, /etc/fstab) it doesn't allow me to write changes
  directly to that file. Instead, I can save file in my home directory,
  then move it on the right place with sudo mv. Other option is to copy
  it's content inside clipboard, relaunch gedit as root, then paste and
  save in appropriate place.

  These paths are not convenient, because I have to do a lot of
  unnecessary work, searching for the file twice or typing it's location
  into terminal. Imagine a situation when file cannot be saved and gedit
  asks for root password and escalates privileges automatically so we
  can now write directly to that file. Kedit can do this. Can we embed
  such functionality inside gedit?

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gedit 3.8.3-0ubuntu3 [modified: usr/bin/gedit usr/lib/x86_64-linux-gnu/gedit/libgedit-private.so]
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Mon Mar 31 10:28:06 2014
  InstallationDate: Installed on 2013-09-10 (201 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: gedit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1300004/+subscriptions