Hi all!
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.
nik
Anno domini 2021 Sun, 14 Mar 12:10:35 +0100 Dr. Nikolaus Klepp scripsit:
Hi all!
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.
nik
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 ???
Nik
On Sun, 14 Mar 2021 12:16:27 +0100 "Dr. Nikolaus Klepp" office@klepp.biz 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>
Hi!
Anno domini 2021 Sun, 14 Mar 14:12:48 +0200 Nick Koretsky scripsit:
On Sun, 14 Mar 2021 12:16:27 +0100 "Dr. Nikolaus Klepp" office@klepp.biz 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>
Now that worked perfectly :)
I do not ask who to hell thinks changing that settings is a good idea. And moving it to a place where nobody would look. I realy do not ask this. As I know, freedesktop has something to do with GNOMEs - a species I do not especially like.
Nik
Nick Koretsky wrote:
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>
I think it were better to check the group membership of the user I think it is the group plugdev
regards
Anno domini 2021 Sun, 14 Mar 14:26:19 +0100 deloptes scripsit:
Nick Koretsky wrote:
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>
I think it were better to check the group membership of the user I think it is the group plugdev
Oh, my user is in pludev (and has been since the beginning of this installation). Problem were definitly the userfriendly changes in org.freedesktop.udisks2.filesystem-mount
Nik
regards ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...