Joined: Sep. 2005
||Posted: June 12 2008,09:30
I just compiled gparted-0.3.5 to see if this would get around the hal issue and realised the cause of the problem might be something else...
gparted needs to be run as root and cannot be run via set uid root - I had started gpartedbin using sudo in the gparted_start.sh wrapper, but maybe this was, ahem, too simplistic.
I see a difference in the way gparted acts when started from a root window (exec /opt/gparted/sbin/gpartedbin &) as compared to starting it via the icon/menu item. At the moment I have only my usb boot laptop with ntfs hd to test - in both cases (icon start & root window start) gparted finds the two hd partitions, but it cannot read the partitions in the case of the icon start.
Maybe somebody could try starting gparted from a root window to see if the device detection problem goes away?
In the meantime, what is the best way to run an application as root from an icon/menu item in dsl?