Bug 502609

Summary: When switching users, the usb drive stays associated with the other user, needing admin rights to acces the drive or to eject it
Product: [I don't know] kde Reporter: Répási Dávid <hu.repasidavid>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Répási Dávid 2025-04-09 14:02:11 UTC
SUMMARY

after mounting a usb drive on user_a, the usb_drive remains in '/run/media/user_a/usb_drive' after logging out.
this happens both ways between user_a and user_b, even when one user is admin

STEPS TO REPRODUCE
1. have two user accounts
2. plug in a usb drive
3. mount it on user_a in dolphin
4. unmount it
5. log out
6. log in to user_b
7. try mounting the usb drive in dolphin

OBSERVED RESULT

dolphin requires admin priviliges to acces the usb stick

EXPECTED RESULT

properly remove the usb drive when logging out, so that user_b gets prompted to mount it to their directory at '/run/media/user_b/usb_drive'

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.13.8
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Comment 1 Nate Graham 2025-04-09 18:34:28 UTC
Does the same thing happen when unmounting from the Disks & Devices widget?
Comment 2 Bug Janitor Service 2025-04-24 03:47:35 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-05-09 03:46:45 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.