*** This bug is a duplicate of bug 877581 ***
https://bugs.launchpad.net/bugs/877581
The usb_test will try to write and read a file in *all* present USB
devices. We assume a bunch of things in the code, mainly that the USB
drives will be writable by the current user, which is true for standard-
issue VFAT USB sticks, but will probably fail on an ext3/4 drive unless
permissions are handled carefully. If things fail, the script will
unceremoniously crash as seen in this report. So:
- The script needs to gracefully handle the case where a device is unwritable.
Simplistically we could run the test as root, but I'd rather not :)
- The script needs to handle multiple USB devices in a sane maner, or at least
warn the user that it's about to write files on all connected devices (the
current description is less than clear about this).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/887778
Title:
usb_test crashed with IOError in MD5HashFile(): [Errno 2] No such file
or directory: '/media/0752d43e-50a5-404a-8f80-8590d7afeb6a/tmpir4Tft'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/887778/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs