Bug 429991

Summary: Mounting a device, switching user, makes it impossible to use device until replugged
Product: [Plasma] plasmashell Reporter: postix <postix>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description postix 2020-12-03 22:01:39 UTC
Created attachment 133855 [details]
Screenshot

SUMMARY

I have a multi user system.
When I plugin my external hard drive under user "A" and mount it using Plasma's "devices" plasmoid, it'd expect that it becomes unmounted if I log out.

However, if I logout and switch to user "B", the device appears to be still mounted.
If I try to open the folder via "device" Plasmoid" or to remount it there, I see the error message attached:

> "Could not execute command. The file or folder /run/media/$USER/12345ABCDEF does not exist."

Plugging the external HDD out and back in "fixes" the problem.


STEPS TO REPRODUCE
1. Login as user "A"
2. Mount external HDD via Plasmas "devices" Plasmoid
3. Logout
4. Login as user "B"
5. Try to open or remount the HDD via Plasmas "devices" Plasmoid

OBSERVED RESULT

Device is not useable. Error message appears.


EXPECTED RESULT

HDD (partitions) can be mounted again.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-3-MANJARO
Comment 1 postix 2020-12-03 22:09:45 UTC
If I instead of step 5. press "unmount device" it completely disappears from the "devices" Plasmoid.
Comment 2 Nate Graham 2020-12-04 01:04:36 UTC

*** This bug has been marked as a duplicate of bug 396526 ***