Sun 3 June 2012, alle 22:26 (GMT+0200), Mélodie ha scritto:
> On Mon, 28 May 2012 06:11:57 +0300
> Mikko Koho <
cryog...@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 [...]
> This does not come from pcmanfm but from your localauthority configuration -- the polkit
> [...]
> I have to add "org.freedesktop.udisks2.-something" to my 55-myconf.pkla
> [...]
> 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
> [...]
I have the same problem. On my debian testing (wheezy) I don't have group
storage but group plugdev
I create/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla with:
[Floppy Permissions]
Identity=unix-group:plugdev
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;org.freedesktop.udisks.filesystem-mount-system-internal
ResultAny=yes
ResultActive=yes
ResultInactive=no
unix-group:storage
and now I can mount USB pens and SD cards.
Now I am this error message at my first login after boot in lxde:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user
of subject
but I don't see any new problem.
If I exit from lxde and I do a new login with the same user I don't have
the error message, but I have random error in rendering of character in
lxterminal.
I am sure that the error message is a new problem after the creation of
/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla
I am not sure that the rendering problem is new.
Sorry for my english, I hope that you understand me :-)
My groups:
johan adm disk dialout cdrom floppy audio dip video plugdev staff games users netdev powerdev vdr
My system:
Kernel: 3.2.0-2-686-pae
pcmanfm 0.9.10-3
policykit-1 0.105-1
policykit-1-gnome 0.105-2
a SD card (sdb) and a USB pen (sdc) on my eeepc:
ls -l /dev/sd[bc]
brw-rw---- 1 root floppy 8, 16 lug 2 07:19 /dev/sdb
brw-rw---- 1 root floppy 8, 17 lug 2 07:19 /dev/sdb1
brw-rw---- 1 root floppy 8, 32 lug 2 07:18 /dev/sdc
brw-rw---- 1 root floppy 8, 33 lug 2 07:18 /dev/sdc1
--