Bug 429991 - Mounting a device, switching user, makes it impossible to use device until replugged
Summary: Mounting a device, switching user, makes it impossible to use device until re...
Status: RESOLVED DUPLICATE of bug 396526
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.20.4
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-03 22:01 UTC by postix
Modified: 2020-12-04 01:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (59.32 KB, image/png)
2020-12-03 22:01 UTC, postix
Details

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