[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-25 Thread Eliah Kagan
*** This bug is a duplicate of bug 796076 ***
https://bugs.launchpad.net/bugs/796076

I don't dispute that this bug is a duplicate of bug 796076, but I am
posting here to address some advice from david6 which is potentially
dangerous if applied.

It is a bad idea to run graphical programs that save user-specific
configuration data, like gedit, with sudo (without special flags to make
it behave like those programs[1]) rather than gksu/gksudo/kdesudo. But
not for security reasons. This is a bad idea because such programs often
create or modify configuration data in such a way that the configuration
files are accessible only by root, and then the application is fully or
partially broken when run by the user unprivileged. (This could then
become a security problem if the configuration data contained secret
information which was then oversimplistically changed back to be owned
by the non-root user, but I am not aware of any situation where this has
been a problem, especially since such users are usually administrators
who are permitted to read the data anyway.) See
https://help.ubuntu.com/community/RootSudo for details.

[1] Actually, those programs are graphical frontends for sudo, and they
make sudo behave properly by passing special flags such as -H. (But it
is a bit more complex than that, so you may still experience some
problems if you run sudo -H instead of gksu/gksudo/kdesudo.)

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-23 Thread david6
Does this mean (based on Bug #805682) we should:

(a.) henceforth use  sudo gedit systemfile  (with some security issues)

OR,

(b.) agitate for this to be fixed, and soon.

??

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-23 Thread Doug McMahon
*** This bug is a duplicate of bug 796076 ***
https://bugs.launchpad.net/bugs/796076

** This bug has been marked a duplicate of bug 796076
   When run as root [gksudo gedit whatever]  gedit  tries to open a 2nd  
'untitled document 1'

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-22 Thread Sam_
** Tags added: precise

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-09 Thread Sam_
Quote comment from upstream developer:
 You shouldn't start GNOME programmes with elevated privileges, it's not
supported. In any case, not a gnome-terminal bug. 

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-09 Thread Sean Fitzpatrick
I see.  So does that make the official GNOME position editing system
files should be done with nano or similar or system files?  why would
a user want to edit a system file?

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-10-09 Thread Sam_
Yep, from my understanding they don't agree with running graphical apps
as root. Bug #805682

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-09-28 Thread Pedro Villavicencio
** Changed in: gedit (Ubuntu)
   Importance: Undecided = Low

** Changed in: gedit (Ubuntu)
   Status: Confirmed = Triaged

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-09-05 Thread Bug Watch Updater
** Changed in: gedit
   Status: Unknown = New

** Changed in: gedit
   Importance: Unknown = Medium

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-09-02 Thread Launchpad Bug Tracker
** Changed in: gedit (Ubuntu)
   Status: New = Confirmed

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-09-02 Thread Sam_
** Bug watch added: GNOME Bug Tracker #658100
   https://bugzilla.gnome.org/show_bug.cgi?id=658100

** Also affects: gedit via
   https://bugzilla.gnome.org/show_bug.cgi?id=658100
   Importance: Unknown
   Status: Unknown

** Tags added: regression-release

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

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 838404] Re: opening existing file with gksu gedit creates untitled document

2011-08-31 Thread Sean Fitzpatrick
-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/838404

Title:
  opening existing file with gksu gedit creates untitled document

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs