GNOME Bugzilla – Bug 693275
gparted fails to start because it says it needs to be root
Last modified: 2013-05-30 19:08:59 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.
It also makes no sense to install it in sbin. (same reason)
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 ***
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).
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.
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.
Closing this bug report as there has been no response to the request for information in comment #5.