REGRESSION usb-creator and Ubuntu USB policies set up impossible situation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Because Ubuntu automatically mounts USB sticks, this creates a bit of an impossible situation with erasing a disk via usb-creator.
Steps to reproduce:
1: log in as normal user
2: Plug in the USB stick you want to use as an Ubuntu boot device (Note that Ubuntu will automount it)
2: open terminal
3: run usb-creator-gtk via sudo to work around policy kit stupidity that prevents normal users from formatting usb disks.
4: select your USB device
5: Click Erase Disk
6: Get a popup error that says:
org.freedesktop
File "/usr/lib/
retval = candidate_
File "/usr/share/
block.
gi._glib.GError: GDBus.Error:
stdout: `mkfs.fat 3.0.26 (2014-03-07)
'
stderr: `mkfs.vfat: /dev/sdb1 contains a mounted filesystem.
'
This is another regression in usb-creator. This problem did NOT exist at all when I used it on Trusty Betas.
In the past, usb-creator seemed good enough to just delete the files, not try to re-format the device itself.
Confirmed on Ubuntu-GNOME 14.04 release, clean install.