Comment 9 for bug 153768

Binary package hint: hal

I have posted about this in bug 115768 as well and will copy most of what I've written there.

I am using the latest Kubuntu 7.10 (which by now should be all but properly released) with KDE 3.5.7:

Linux thehostname 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Upon plugging in an external, removable SATA (eSATA) hard disk formatted with Ext3 I get the following messages in .xsession-errors:

kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_uuid_6591d79f_e4db_4fb6_9edd_fdc18d5a9731: org.freedesktop.Hal.Device.PermissionDeniedByPolicy - hal-storage-fixed-mount refused uid 1000
kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_uuid_6591d79f_e4db_4fb6_9edd_fdc18d5a9731 returned hal-storage-fixed-mount refused uid 1000

Dolphin (D3lphin) says "hal-storage-fixed-mount refused uid 1000", too.

Manually issuing "pmount /dev/sdb1 /media/mydisk" says:

Error: device /dev/sdb1 is not removable

Which is consistent with the lshal output saying "storage.removable = false (bool)" for that disk.

Manually mounting (i.e. with mount, not pmount) works fine. Creating an entry in /etc/fstab and mounting via that works fine, too, both as a regular user and as root.

I am not sure what exactly the underlying problem is, but I suspect that noone has yet thought of describing a policy for removeable, external SATA disks (formatted Ext3)? What does it take to write a suitable policy? This also seems to be purely a HAL problem, not KDE-, kernel- or even hardware-related. I am attaching the output of lshal, hald, dmesg, etc as required by https://wiki.ubuntu.com/DebuggingRemovableDevices as well.