Fork me on GitHub

wamonomicon

Tag: Linux

Fixed: Automounted DVDs on openSUSE 11.4

I had an issue with automounted DVDs on openSUSE 11.4 not appearing in Gnome desktop. It seems that udisks honours UDF-mounted directory permissions even if they aren't readable. 1

The issue is fixed in udisks 1.0.3 2 however openSUSE 11.4 stopped updating udisks at 1.0.2. As the patch 3 was minimal, I decided to apply it to the contents of the openSUSE source RPM, increment the RPM spec build number and build a new RPM.

I'll put it up for download here (unless I find time to put it somewhere more official like the openSUSE build server).

Download udisks-1.0.2-3.6.2.i586.rpm

To allow the DVD to be mounted without requiring root authentication I had to get handy with polkit. I added the following 10-storage-group-user-override.pkla file to /var/lib/polkit-1/localauthority/50-local.d/ (you may have to create the 50-local.d directory).

[Access to removable media for users]
Identity=unix-group:users
Action=org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.filesystem-mount
ResultAny=yes
ResultInactive=yes
ResultActive=yes

Download 10-storage-group-user-override.pkla


  1. A bug report and patch can be found on the Ubuntu issue tracker #635499

  2. As listed in the release notes 

  3. You can view the patch here 

Posted Thu 10 Jan '13 in SysAdmin (OpenSUSE, Linux, DVD)