Created attachment 354492 [details] emerge --info (I reported this upstream: https://bugs.kde.org/show_bug.cgi?id=318068 but the bug was closed as "DOWNSTREAM", so I'm opening a new bug here.) In older KDE versions (I think 4.9, but perhaps it was 4.8) when I clicked on a mountable device icon, for example in Dolphin (but in general everywhere where such icons are offered), the device was mounted immediately without asking me for a root password. With KDE 4.10 and newer, this doesn't work anymore. I now get prompted for the root password and the mount happens as root. As a workaround, I now have to mount from the command line which is a hasstle since I prefer using desktop environments instead of the CLI. Here's an fstab entry for a disk where KDE behaves wrongly: /dev/sdb1 /windows/D ntfs-3g relatime,user,exec,norecover,windows_names,noauto 0 0 Note the "user" option, which allows the filesystem to be mounted by users. Removing that entry from fstab (in case it interferes with UDisks) does not help.
Using gparted I created a partition table and two partitions, one fat32 and one ext2, on a USB stick. When I plug it in, the device notified pops up, I click on usb8_ext2, it opens in Dolphin, and I can't paste anything into it. If I click on USB8_FAT32 I can paste files there. ls shows /run/media/me/usb8_fat32 is owned by root:root and USB8_FAT32 by me:me.
ps. KDE-4.10.5 fuse-2.9.2 sys-fs/udisks-1.0.4-r5 and 2.1.0 Nothing about the device in fstab.
The issue persists with KDE 5 (Frameworks 5.24, Plasma 5.7.3). However, now I know it's some issue with udisks2. If I add this to the mount options in fstab: uhelper=udisks2 then no root password is needed for mounting. However, now the root password is needed for unmounting! So the problem isn't really solved, but maybe this provides some hint as what's causing this?
I haven't tested with ConsoleKit recently, but this works correctly for me now with elogind.
I switched from openrc to systemd, and it works now. Issue could still be there with openrc, I just don't know. So "works for me", I guess?