View previous topic :: View next topic |
Author |
Message |
cctsurf Tux's lil' helper
Joined: 12 Oct 2006 Posts: 123
|
Posted: Mon Sep 26, 2016 3:21 pm Post subject: plasma: "you are not authorized to mount this device&qu |
|
|
Every time I attach a usb stick or other flash device to my computer, and try to mount it from the device notifier in KDE Plasma 5, I get this notification, "you are not authorized to mount this device".
This is on all three computers I have, 2 running mostly stable and one running unstable. Interestingly enough all three computers worked just fine under KDE4.
Thanks in Advance! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Mon Sep 26, 2016 3:46 pm Post subject: |
|
|
You need to click on right icon (arrow down with line) for mount device, and the you can click for open in dolphin _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
cctsurf Tux's lil' helper
Joined: 12 Oct 2006 Posts: 123
|
Posted: Mon Sep 26, 2016 4:27 pm Post subject: Solved plasma: "you are not authorized to mount this de |
|
|
THANKS! That did it.
That was simple...but counter-intuitive.
I've been beating my head against the wall on this since plasma came out. I always ended up mounting from the command line. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Mon Sep 26, 2016 4:38 pm Post subject: Re: Solved plasma: "you are not authorized to mount thi |
|
|
cctsurf wrote: | That was simple...but counter-intuitive. |
I feel the same way. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Mon Sep 26, 2016 5:13 pm Post subject: |
|
|
Try the following:
Code: | [Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> The Trick is, go to
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> $ kcmshell5 componentchooser
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> and set temporally another File Manager, and save it
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> then set Dolphin back, and save it
[Donnerstag, 22. September 2016] [22:39:28 CEST] <josef64> after that works fine in Device Notifier :) |
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Mon Sep 26, 2016 5:28 pm Post subject: |
|
|
asturm wrote: | Code: | [Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> The Trick is, go to
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> $ kcmshell5 componentchooser
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> and set temporally another File Manager, and save it
[Donnerstag, 22. September 2016] [22:38:39 CEST] <josef64> then set Dolphin back, and save it
[Donnerstag, 22. September 2016] [22:39:28 CEST] <josef64> after that works fine in Device Notifier :) |
|
Tried but nothing changed, I need to click on icon _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
|
Back to top |
|
|
davidbrooke Guru
Joined: 03 Jan 2015 Posts: 341
|
Posted: Sat Oct 22, 2016 10:55 pm Post subject: |
|
|
I had to do the following:
1. Create the following file:
/etc/polkit-1/rules.d/10-udisks.rules
Code: | polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount" &&
subject.isInGroup("users")) {
return "yes";
}
}); |
2. Change user permissions to /etc/polkit-1/rules.d/10-udisks.rules
Code: | User: polkitd
Group: root |
Now when I insert a usb stick I can select "Open with File Manager" and dolphin opens.
Reference:
https://wiki.gentoo.org/wiki/Polkit
https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2060 Location: San Jose, CA
|
Posted: Tue Dec 13, 2016 4:55 pm Post subject: |
|
|
Thanks for this thread. This has been driving me bonkers for a long time. _________________ Some day there will only be free software. |
|
Back to top |
|
|
philip Guru
Joined: 10 Jun 2003 Posts: 535 Location: Sweden
|
Posted: Thu Mar 02, 2017 4:25 pm Post subject: |
|
|
Brilliant davidbrooke,
This solved my problem too. _________________ /Phil |
|
Back to top |
|
|
cameta Veteran
Joined: 04 Aug 2004 Posts: 1320
|
Posted: Tue Mar 07, 2017 12:16 am Post subject: |
|
|
https://forums.gentoo.org/viewtopic-t-1038986-start-0.html
Make this file i
Code: | # /etc/polkit-1/rules.d/10-udisks.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount" && subject.isInGroup("plugdev")) {
return "yes";
}
}); |
And add your user to the plugdev group
gpasswd -a user plugdev _________________ Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual. |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Tue Mar 07, 2017 1:37 pm Post subject: |
|
|
fbcyborg wrote: | LOL
I had the same issue too.
It's actually strange clicking on an eject icon to mount an external USB storage.
And the arrow changes from down to up also! |
I don't much care for the new design, but, to be fair, it's not an eject icon. The down-pointing arrow is the media-mount symbol. The upward-pointing arrow is the media-eject symbol. Therefore you click on the down-pointing arrow to mount the external USB device, and you click on the upward-pointing arrow to unmount the external USB device.
https://github.com/KDE/breeze-icons/blob/master/icons/actions/24/media-mount.svg
https://github.com/KDE/breeze-icons/blob/master/icons/actions/24/media-eject.svg
One advantage of the Plasma 5 Device Notifier design over the old KDE 4 design -- at least how it was in my KDE 4 installation -- is that you can mount, unmount and mount again the USB device without having to unplug it. In my old KDE 4 installation, once I had clicked in Device Notifier to unmount a USB device, I had to unplug it and plug it in again in order for KDE 4 to be able to re-mount it. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
Sharp_Rulez n00b
Joined: 17 Sep 2006 Posts: 43
|
Posted: Fri Mar 17, 2017 11:35 pm Post subject: |
|
|
Guys,
I really dont see the arrow that you are all talking about.
See my screenshot, so please help me because apparently i'm blind ;P
I'm trying the polkit change to see if it solves my issue, kinda annoying to go in shell as root to manually mount a usb stick! |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Tue Mar 21, 2017 11:42 am Post subject: |
|
|
Me too.
If you move the pointer to the right of the bar a button appears.
Try this and tell me. _________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Tue Mar 21, 2017 12:02 pm Post subject: |
|
|
What themes do you use? |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Tue Mar 21, 2017 12:12 pm Post subject: |
|
|
Code: | eix oxygen -I
[I] kde-frameworks/oxygen-icons
Available versions:
(4) 4.14.3(4/4.14)
(5) 5.29.0(5/5.29) (~)5.32.0(5/5.32)
{aqua sources test}
Installed versions: 5.32.0(5)(09:51:42 12/03/2017)(-test)
Homepage: https://www.kde.org/
Description: Oxygen SVG icon theme
|
_________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Tue Mar 21, 2017 12:33 pm Post subject: |
|
|
Well, that does not *really* answer my question, I have them also installed but what matters is your selection in systemsettings. If I take it as your answer though, that would point to a missing icon in the alternative oxygen icon set. |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Tue Mar 21, 2017 1:02 pm Post subject: |
|
|
I set Oxygen as Icon theme of course.
I don't care so much about that particular icon.
Maybe Sharp_Rulez does. _________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
Sharp_Rulez n00b
Joined: 17 Sep 2006 Posts: 43
|
Posted: Sat Mar 25, 2017 8:24 pm Post subject: |
|
|
bandreabis wrote: | Me too.
If you move the pointer to the right of the bar a button appears.
Try this and tell me. |
Right, found it!! Thanks, and yes it does mount it! Although there is no icons to "mount", the eject is showing up for the umount.
Thanks also for hinting about the icon package, but unfortunately it was installed
Calculating dependencies... done!
[ebuild R ] kde-frameworks/oxygen-icons-5.29.0:5/5.29::gentoo USE="{-test}" 0 KiB
I'll eix-sync and reinstall the package just in case! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Sat Mar 25, 2017 8:37 pm Post subject: |
|
|
Rebuilding it was not asked for, if you read carefully. |
|
Back to top |
|
|
Sharp_Rulez n00b
Joined: 17 Sep 2006 Posts: 43
|
Posted: Sun Apr 02, 2017 1:12 pm Post subject: |
|
|
oups right. Therefore I guess there is nothing I can do about the missing icon; unless perhaps opening a bug. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 856
|
Posted: Tue Jan 23, 2018 5:46 pm Post subject: |
|
|
The simple fix to rules listed above worked perfectly. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Tue Jan 23, 2018 6:17 pm Post subject: |
|
|
The real fix here rather than working around consolekit's quirks will be switching to elogind, which will happen asap. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Jan 23, 2018 10:48 pm Post subject: |
|
|
asturm wrote: | The real fix here rather than working around consolekit's quirks will be switching to elogind, which will happen asap. |
Which will then automount the usb key, but have a bug when user remove the key?
Which will then get the answer: the real fix will be switching to elogind-2 |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Tue Jan 23, 2018 10:50 pm Post subject: |
|
|
I'm not aware of such a bug with elogind, no. |
|
Back to top |
|
|
|