Error msg "Not Authorized"

Bug #600575 reported by knorr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policykit-1 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: pcmanfm

Ubuntu 10.04
Linux developer 2.6.32-23-386 #37-Ubuntu SMP Fri Jun 11 10:59:01 UTC 2010 i686 GNU/Linux

got subj while trying open flash [auto]mounted with pcmanfm
console log:
** (pcmanfm:28980): DEBUG: unable to load icon
** (pcmanfm:28980): DEBUG: unable to load icon . GThemedIcon application-octet-stream gnome-mime-application-octet-stream application-x-generic
** (pcmanfm:28980): DEBUG: try automount
** (pcmanfm:28980): DEBUG: add vol: 0xa1bd9a0, uuid: AA36061E3605EBDF, udi: (null)

apt-cache policy pcmanfm
pcmanfm:
  Установлен: 0.9.7-1
  Кандидат: 0.9.7-1
  Таблица версий:
 *** 0.9.7-1 0
        100 /var/lib/dpkg/status
     0.5.2+svn20091029-1ubuntu3.1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/universe Packages
     0.5.2+svn20091029-1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages

Revision history for this message
Julien Lavergne (gilir) wrote :

Thank you for your bug report. Do you still have this problem using Ubuntu or Lubuntu 10.10, or using the LXDE PPA : https://launchpad.net/~lxde/+archive/ppa

Changed in pcmanfm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pcmanfm (Ubuntu) because there has been no activity for 60 days.]

Changed in pcmanfm (Ubuntu):
status: Incomplete → Expired
Changed in pcmanfm (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Javier López (javier-lopez) wrote :

I was able to reproduce it in ubuntu precise:

pcmanfm: 0.9.10-0ubuntu2
udisks: 1.0.4-5ubuntu2
policykit-1: 0.104-1

To test it:

1.- Install ubuntu minimal

2.- install pcmanfm and add gvfs support
          $ sudo apt-get install pcmanfm gvfs gvfs-common gvfs-daemons gvfs-fuse gvfs-libs libatasmart4 libdevmapper-event1.02.1 libgdu0 libgnome-keyring-common libgnome-keyring0 libgudev-1.0-0 liblvm2app2.2 libsgutils2-2 udisks

3.- run pcmanfm and you'll notice udisks needs and doesn't have as a dependency policykit-1

          $ sudo apt-get install policykit-1

4.- run again pcmanfm (once policykit-1 is installed) and try to mount an usb, you'll face the "Not authorized" dialog

5- create /etc/polkit-1/localauthority/50-local.d/55-storage.pkla with the following content:

[Storage 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
ResultAny=yes
ResultActive=yes
ResultInactive=no

6- add yourself to the plugdev group
           $ usermod -a -G plugdev your-username

7- pcmanfm will automount usb disks

Even when exist a workaround, pcmanfm will termine randomly while umounting those disks

--------------------------------------------------
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

affects: pcmanfm (Ubuntu) → policykit-1 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.