[Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

Marcus Better marcus at better.se
Mon Apr 20 07:17:40 UTC 2009


Package: policykit
Version: 0.9-3
Severity: normal

Today I was suddenly unable to mount a removable USB drive (a digital
camera) in KDE4, something that used to work before. In between I have
updated a bunch of packages, notably from KDE 4.2.1 to 4.2.2, so maybe
it's related to this.

The device shows up in the plugged devices widget, but selecting the
drive's icon in Dolphin gives a message about PermissionDenied for the
action "org.freedesktop.hal.storage.mount-removable".

Some web searches turned up a workaround, I added the following rule
PolicyKit.conf and it started working:

    <match action="org.freedesktop.hal.storage.mount-removable"> 
        <return result="yes" />
    </match>

I think this should work out of the box.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages policykit depends on:
ii  adduser                       3.110      add and remove users and groups
ii  consolekit                    0.3.0-2    framework for defining and trackin
ii  dbus                          1.2.12-1   simple interprocess messaging syst
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.12-1   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.80-3     simple interprocess messaging syst
ii  libglib2.0-0                  2.20.0-2   The GLib library of C routines
ii  libpam0g                      1.0.1-9    Pluggable Authentication Modules l
ii  libpolkit-dbus2               0.9-3      library for accessing PolicyKit vi
ii  libpolkit-grant2              0.9-3      library for obtaining privileges v
ii  libpolkit2                    0.9-3      library for accessing PolicyKit

policykit recommends no packages.

Versions of packages policykit suggests:
pn  policykit-gnome               <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list