Bug 338857 - Solid cannot distinguish the same network share mounted in different places
Summary: Solid cannot distinguish the same network share mounted in different places
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-fstab (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mario Bensi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-06 19:14 UTC by Mark Harmstone
Modified: 2018-09-04 15:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Potential patch (6.79 KB, patch)
2014-09-06 19:16 UTC, Mark Harmstone
Details

Note You need to log in before you can comment on or make changes to this bug.
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!