Created attachment 469133 [details] patch based on upstream code Description of problem: KDE mediamanager HAL backend relies on it's own config file rather than using information obtained from HAL itself. This is wrong - HAL provides an universal way to set up mount points, options etc easy obtainable through libhal. and there is no benefits of using mediamangerrc for all of these. Moreover, mediamangerrc is incomplete - for instance, it does not correctly handle all mount options (just to mention: iocharset and codepage) which draws it almost useless when you have non-English system with non-UTF locale: there is no way to specify the correct charset and all non-Latin characters become unreadable. Reproducible: always Steps to reproduce: 1. setup device permission $ cat /etc/hal/fdi/policy/removable-drive.fdi <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <!-- for removable disks containing partitions --> <deviceinfo version="0.2"> <device> <match key="@info.parent:storage.removable" bool="true"> <match key="@info.parent:storage.removable.media_available" bool="true"> <merge key="storage.policy.mount_option.ro" type="bool">true</merge> <merge key="volume.policy.mount_option.ro" type="bool">true</merge> </match> </match> </device> </deviceinfo> 2. Start KDE and mount some media 3. Check "mount" option Expected result ro mount option for removable disks Actual result: rw mounts Additional information: Upstream bug - http://bugs.kde.org/show_bug.cgi?id=133456 The patch attached to upstream works. ( http://bugs.kde.org/attachment.cgi?id=20368 )
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-1177.html