On 09/10/2016 16:02, Riccardo Corsi wrote:
Hi all, I have a question about mounting removable devices in Plasma 5 (BLFS
7.10). After installing Udisks2 (if not, devices are not automatically
attached), when I insert an USB key, system says that I have a new USB disk,
but I have no authorization to mount. Same in Dolphin.
I am able to mount USB media manually (sudo or root). In my /etc/fstab I have
this line: (after UUID=..):
/media/usbdrive vfat
noauto,user,quiet,showexec,iocharset=utf8,codepage=65001 0 0
My user is member of usb cdrom.
Some suggestions? Thanks.
Riccardo
Are you using the SYSV or systemd version of the book? And how are you
launching the desktop? With SYSV, you need that "ck-launch-session
dbus-launch" be run during session start. If systemd, well, I do not know
(sorry)...
Pierre
resurecting the thread:
Old thread (solved):
To enable automatic mount for usb stick (on KDE Plasma 5.7.3 - BLFS
7.10, systemd 231 ) I had to:
- recompile udisks2 with option --enable-fhs-media (because I use an fhs
compliant /media/usbdrive mount point)
- check with udisksctl monitor what udev rule is used by system in case
of usb removable drive (org.freedesktop.udisks2.filesystem-mount-other-seat)
- add rule in /etc/polkit-1/rules.d to allow udisks2 to mount without
authentication for group (users or usb)
Now usb drive mount via kde device notifier
Riccardo
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page