Bug 310335 - Replace udisks with udisks2
Summary: Replace udisks with udisks2
Status: RESOLVED LATER
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-udisks2 (show other bugs)
Version: 4.9.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lukáš Tinkl
URL: https://bbs.archlinux.org/viewtopic.p...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 13:31 UTC by Nicola Mori
Modified: 2012-11-20 10:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Mori 2012-11-19 13:31:24 UTC
In a systemd system, udisks is unable to mount ntfs-3g partitions listed in fstab as unprivileged user, even when ntfs-3g is compiled with internal fuse support and after chmod 4755. This prevents Dolphin from automatically mounting those partitions. This problem is due to a bug in how user's group is set in udisks; a patch exists but it will likely not be merged upsteram due to development now focusing on udisks2 (which just works). KDE should then use udisks2 instead of udisks.
Tested with udisks 1.0.4-5 under Archlinux.

Reproducible: Always

Steps to Reproduce:
1. Set an entry in fstab for a ntfs-3g partition with the "users" option
2. Use a ntfs-3g binary compiled with internal fuse support and set permissions with:
   # chmod 4755 `which ntfs-3g`
3. Mount with "udisks --mount /dev/sda1" (replace with the correct device path) as non-root user. The user must be a member of the "disk" group
Actual Results:  
Mount is not done since user is not recognized as a member of the disk group.

Expected Results:  
Device should be mounted.
Comment 1 Christoph Feck 2012-11-20 00:12:15 UTC
As far as I know, there is udisk2 support planned for KDE 4.10.
Comment 2 Lukáš Tinkl 2012-11-20 10:00:39 UTC
Yup, udisks2 backend will be part of kdelibs 4.10