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 658100 - With elevated privileges, gedit opens an existing file and an untitled document in a new tab.
With elevated privileges, gedit opens an existing file and an untitled docume...
Status: RESOLVED DUPLICATE of bug 653563
Product: gedit
Classification: Applications
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-02 23:40 UTC by sam_
Modified: 2012-07-31 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sam_ 2011-09-02 23:40:58 UTC
Reproducable via terminal.
gksudo gedit /etc/apt/sources.list

It opens the requested file and beside an untitled document in a new tab.
Expected.
Only open the requested file.

## Above behaviour doesn't occur with regular user permissions via terminal and previous version of gedit 2.30.4.
e.g.
gedit /home/<user>/documents/<file>

Bug reported there first.
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/838404
Comment 1 Christian Persch 2011-09-03 08:35:38 UTC
You shouldn't start GNOME programmes with elevated privileges, it's not supported. In any case, not a gnome-terminal bug.
Comment 2 Eliah Kagan 2011-10-24 12:55:16 UTC
Is this bug a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=653563 ?
Comment 3 Tom Thornton 2012-02-08 01:28:53 UTC
(In reply to comment #1)
> You shouldn't start GNOME programmes with elevated privileges, it's not
> supported. In any case, not a gnome-terminal bug.

As a user of this program for over a decade, and not experiencing this problem until V3.0.x, AND not being a corporate user (I use Linux at home, and ALWAYS log in as root, because I am tired of typing my password literally every time I want to do something in MY computer.), I am very disturbed at your statement that elevated users should not be using the editor. Text editors are mandatory at ALL levels! Since when do YOU feel that you have to dictate how others use their computers? SE Linux is available to drive the security in a system, and admins are capable of setting rights to, disabling, and even uninstalling it.  Instead of blowing people off, why not do something constructive, and either assign the problem to someone who actually cares about it, or just not post such derogatory statements.

I also posted a comment on the original bug report (id=653563), that I experience the problem in all levels.  Not just root, or high level log-ins.
Comment 4 André Klapper 2012-07-31 16:08:26 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 bug 653563 ***