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 693275 - gparted fails to start because it says it needs to be root
gparted fails to start because it says it needs to be root
Status: RESOLVED NOTABUG
Product: gparted
Classification: Other
Component: application
0.14.1
Other Linux
: Normal major
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2013-02-06 19:02 UTC by Hristo Venev
Modified: 2013-05-30 19:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hristo Venev 2013-02-06 19:02:28 UTC
This is not true. parted works 100% fine if the user is not root as long as there is r/w access to the block device.
Comment 1 Hristo Venev 2013-02-06 19:06:01 UTC
It also makes no sense to install it in sbin. (same reason)
Comment 2 Curtis Gedak 2013-02-06 19:49:42 UTC
GParted takes out a universal lock on all disk devices to prevent problems that can occur if file systems are automounted in the middle of operations.  This requires root privilege.

See also https://bugzilla.gnome.org/show_bug.cgi?id=381557#c14

Marking this report as a duplicate.

*** This bug has been marked as a duplicate of bug 381557 ***
Comment 3 Hristo Venev 2013-02-07 21:42:21 UTC
It's not a duplicate. gparted should be able to run without root password on block devices for which the _user_ has r/w access. (Such as files to be mounted as loop devices).
Comment 4 Phillip Susi 2013-03-03 20:06:54 UTC
Write access to the block device is not enough; you still have to be root to inform the kernel of changes to the partition table.  Parted will throw errors if you try to actually manipulate the partitions without being root, and warns you that not being root will cause problems.

As such, this bug should be closed as NOTABUG.
Comment 5 Curtis Gedak 2013-03-03 20:31:02 UTC
Hristo, please provide the terminal session output where you were non-root and able to create or change partitions on a USB device using _parted_ and inform the kernel of changes.
Comment 6 Curtis Gedak 2013-05-30 19:08:59 UTC
Closing this bug report as there has been no response to the request for information in comment #5.