https://bugs.kde.org/show_bug.cgi?id=418906

            Bug ID: 418906
           Summary: UDI (Unique Device Identifier) provided by solid is
                    not actually unique, entry gets overwritten
           Product: frameworks-solid
           Version: 5.44.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: lu...@kde.org
          Reporter: bernard.g...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

Unique Device Identifier provided by solid is not unique


STEPS TO REPRODUCE
1. Sign in as user 1 and mount a samba network share (cifs://server/files) as
user1 under /home/user1/files/


2. run `solid-hardware list details` to see the solid-hardware entry, note the: 
  UDI /org/kde/fstab///server/files, and
  StorageAccess.filePath = '/home/user1/files' (String)


3. Switch user and sign in as user2 , then mount _the_same_ network share
smb://server/files as user2 under /home/user2/files/

4. confirm both shares are correctly mounted: `mount | grep files`

5. run `solid-hardware list details` to see the solid-hardware entries


OBSERVED RESULT
solid-hardware list details shows a single entry for the mounted network share,
with the StorageAccess.filePath value of the most recently mounted share. The
previous solid-hardware device entry is overwritten
The UDI is identical to the first mounted device, which means that solid is not
actually using "Unique" Identifiers -


EXPECTED RESULT
solid-hardware list details should show multiple entries for the same network
share mounted at different locations.
These entries should have a unique UDI

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04 (bionic)/KDE Plasma 5.12.9
(available in About System)
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
This manifests itself in places like dolphin, in the device list it will only
show the most recently mounted share, making the shortcut inaccessible to user1
via the Devices panel list.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to