Re: TDE 14.1: error mounting usb flash drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 14 Mar 2021 12:16:27 +0100
"Dr. Nikolaus Klepp" <office@xxxxxxxxx> wrote:

> > 
> > Yesterday I did a dist-upgrade. Today I'm greeted with an error message
> > from konqueror when I connect a usb flash drive:
> > 
> > Unable to mount this device.
> > Technische Details:
> > org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to
> > perform operation
> > 
> > Any idea where this comes from and what I can do to resolve that
> > problem? Mounting/unmounting worked prior to the update.
> > 
> Addon:
> 
> $ udisksctl mount -b /dev/sdb
> ==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount ===
> Legitimierung ist zum Einhängen von Generic Flash Disk (/dev/sdb)
> notwendig Authenticating as: ,,, (nik)
> Password: 
> ==== AUTHENTICATION COMPLETE ===
> Mounted /dev/sdb at /media/8GB
> nik@t61:~$ 
> 
> Why the heck is it asking me for my password ???
> 
> 

You need to modify org.freedesktop.UDisks2.policy (probably
at /usr/share/polkit-1/actions but this could be distro specific)

Search in for org.freedesktop.udisks2.filesystem-mount, then scroll down to  <defaults>
 block and replace whatever auth rule there is with "yes", like this:
      <allow_any>yes</allow_any>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>




-- 
  Nick Koretsky (nick.koretsky@xxxxxxxxx)
  
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux