On Mon, 28 May 2012 06:11:57 +0300 Mikko Koho <cryogen...@gmail.com> wrote:
> Package: pcmanfm > Version: 0.9.10-3 > > Dear Maintainer, > PCManFM gets "Not authorized"-comments in many many times: > Examples: > -When I try to mount USB-stick or memory card, it may be possible or not > when > horror "Not.." comes. > -When I unplug USB-stick and has unmounted it correctly, comes.. > -Sometimes PCManFM gets totally crazy. Nothing works and reboot helps. Then > same starts again after several minutes-days.. > -When I had USB-stick at this computer, it worked. When I tried to use same > stick in another computer, it doesn't understood folders which I have made. > > > > -- System Information: > Debian Release: wheezy/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core) > Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages pcmanfm depends on: > ii libatk1.0-0 2.4.0-2 > ii libc6 2.13-32 > ii libcairo2 1.12.2-2 > ii libfm-gtk-bin 0.1.17-2 > ii libfm-gtk1 0.1.17-2 > ii libfm1 0.1.17-2 > ii libfontconfig1 2.9.0-5 > ii libfreetype6 2.4.9-1 > ii libgdk-pixbuf2.0-0 2.26.1-1 > ii libglib2.0-0 2.32.3-1 > ii libgtk2.0-0 2.24.10-1 > ii libmenu-cache1 0.3.3-1 > ii libpango1.0-0 1.30.0-1 > ii libx11-6 2:1.4.99.901-2 > > Versions of packages pcmanfm recommends: > ii gnome-icon-theme 3.4.0-2 > ii gvfs-backends 1.12.3-1 > ii gvfs-fuse 1.12.3-1 > ii lxde-icon-theme 0.5.0-1 > > pcmanfm suggests no packages. Hi, This does not come from pcmanfm but from your localauthority configuration -- the polkit program : "Description: Application development toolkit for controlling system-wide privileges". For example here in Archlinux, while trying to mount Ubuntu in SpaceFM: "Error mounting /dev/sda10: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation" I have to add "org.freedesktop.udisks2.-something" to my 55-myconf.pkla This one file: ************** # ls /etc/polkit-1/localauthority/50-local.d/55-maconfig.pkla /etc/polkit-1/localauthority/50-local.d/55-maconfig.pkla ************** You will find examples to configure it here: https://wiki.archlinux.org/index.php/PCManFM You see this example: ********************** As root create /etc/polkit-1/localauthority/50-local.d/55-myconf.pkla (or some other filename of your choosing ending with .pkla) containing: [Storage Permissions] Identity=unix-group:storage Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown ResultAny=yes ResultActive=yes ResultInactive=no ********************** When you see something such as "org.freedesktop.udisks.filesystem-mount" you will add the same with "udisks2" instead of "udisks", and for internal partitions: "org.freedesktop.udisks.filesystem-mount-system-internal;org.freedesktop.udisks2.filesystem-mount-system-internal" and so on... There is also: "org.freedesktop.udisks2.open-device" and the command "pkaction" to list the existing commands. Hope this helps, while it is not looking like a bug. Regards, Mélodie -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org