В Fri, 30 May 2014 02:45:06 +0200
Peter
TL;DR In short, why does trying to mount a device in Dolphin request my root password when I've set this device to be mountable by a user in the fstab? The fstab entry reads as follows: UUID=b6b754d1-243c-45f4-99f1-ff89c43a4fee /mnt/backup1 ext4 user,noauto,acl,user_xattr,nofail 0 0
My best guess is that Dolphin is using API that contacts udisks to perform actual mount and udisks has own authorization framework, so "user" becomes irrelevant here. Now udisks treats every filesystem from /etc/fstab as system (privileged) and requires authentication. Your options (in addition to creating simple action that calls mount directly as already suggested) are - generally permit yourself system mount (action org.freedesktop.udisks2.filesystem-mount-system). - write custom polkit rule that permits you mounting of specific device. udisks passes various information to polkit when requesting authorization; this information includes device name, UUID, label and more. They are documented here: http://udisks.freedesktop.org/docs/latest/udisks-polkit-actions.html Unfortunately, it requires you to learn programming ... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org