Comment 3 for bug 1289314

Revision history for this message
Ivan Larionov (xeron-oskom) wrote :

Ok I tired of waiting maintainers to fix and found a bug and fixed it. Patch attached.

This bug caused by mount returns warning to STDERR when mounting read-only without -r flag. Example:

$ sudo mount -o loop /home/xeron/Загрузки/trusty-desktop-amd64.iso /tmp/tmp1c7s4pag
mount: блочное устройство /home/xeron/Загрузки/trusty-desktop-amd64.iso защищен от записи, монтируется только для чтения

In english:

$ LC_ALL=en_EN.UTF-8 sudo mount -o loop /home/xeron/Загрузки/trusty-desktop-amd64.iso /tmp/tmp1c7s4pag
mount: block device /home/xeron/Загрузки/trusty-desktop-amd64.iso is write-protected, mounting read-only

Possible bug duplicates (some are older, but I believe it's OK to mark them as duplicates if usb-creator will be fixed by patch provided in this ticket):

Bug #1273739
Bug #1266731
Bug #1264400
Bug #1253065
Bug #1013511 (may be)

Related bugs:

Bug #1289310 (same encoding problems with LC_ALL set to C or en_EN.UTF-8 and national localized Download dir)
Bug #948257 (not duplicate because it's about UI, but originally caused by same bug with ascii)