running gparted as non-root user displays no graphical error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gparted (Ubuntu) |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: gparted
When gparted is run as a non-root user, it quits immediately without displaying any graphical user interface elements. Running it from the command line reveals this error message as the sole output:
Inhibit all polling failed: Only uid 0 is authorized to inhibit the daemon
Unless gparted is modified to use PolicyKit (or to automatically invoke gksu, su-to-root, or the like), it seems to me that it ought to display an error graphically when it is run with inadequate credentials.
Furthermore, even when run from the command-line, gparted never explicitly states that it needs to be run as root. The error it does display suggests that it does...but only to a user who knows that inhibiting polling is essential to gparted's usability, and that the superuser has uid 0.
There is a significant mitigating factor: gparted is typically run from a menu, which actually executes the command "gksu gparted". But results of a web search suggest that inexperienced users of gparted frequently fail to realize that it needs to be run as root, and frequently don't figure it out themselves (even when they run it from a terminal see the error message).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gparted 0.6.2-1ubuntu1.1
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Mon Jan 3 14:07:04 2011
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
ProcEnviron:
LANGUAGE=
LANG=en_US.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: gparted
Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.
I don't understand why any inexperienced user would be running gparted from anything but the menu. Since they are "inexperienced", it is expected they will use the menu item until they gain experience.
Thanks for taking the time to make Ubuntu better!