Bug 338857

Summary: Solid cannot distinguish the same network share mounted in different places
Product: [Frameworks and Libraries] solid Reporter: Mark Harmstone <mark>
Component: libsolid-fstabAssignee: Mario Bensi <nef>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Potential patch

Description Mark Harmstone 2014-09-06 19:14:28 UTC
Solid gives its network shares UDIs of the form /org/kde/fstab//server/share, meaning that if, for example, multiple users mount the same CIFS share in their home directory, it won't be able to distinguish between them. This can be problematic as they may be mounted using different authentication, and each user may not necessarily have access to the home directories of the others.

Reproducible: Always
Comment 1 Mark Harmstone 2014-09-06 19:16:09 UTC
Created attachment 88596 [details]
Potential patch

Potential patch. This changes the UDIs of network shares to be of the form /org/kde/fstab//server/share//mnt/point. A double slash is used as the separator between the share and the mount point to make it unambiguous.
Comment 2 Jonathan Riddell 2015-03-11 19:08:16 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid.
Comment 3 Andrew Crouthamel 2018-09-04 15:46:09 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!