Bug 502125 - Cannot unmount USB drives mounted by Dolphin
Summary: Cannot unmount USB drives mounted by Dolphin
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 11:59 UTC by Ilya Bizyaev
Modified: 2025-04-10 08:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2025-03-28 11:59:39 UTC
SUMMARY
I imagine this to be the 90% case.

STEPS TO REPRODUCE
1. Plug in a USB stick, open it with Dolphin.
2. Launch KPM from the drive's context menu in Dolphin.
3. Right-click the partition and choose “Unmount”.

OBSERVED RESULT
“Cannot unmount” error dialog, the details only show the command: `umount --verbose --all-targets /dev/sda1`.

EXPECTED RESULT
Unmounted like Dolphin would do.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250326
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This breaks the workflow of formatting a previously viewed USB stick from Dolphin.
Comment 1 John Kizer 2025-04-09 19:09:57 UTC
Hi - following those steps, I cannot reproduce on my Fedora KDE 41 device.

Just to check, what filesystem path is being used by your operating system to mount the USB drive? On my device, for example, it's /run/media/username/label 

Also, what filesystem is used by that USB drive? (ex. exfat?)

Thanks!
Comment 2 Ilya Bizyaev 2025-04-09 20:16:08 UTC
• Same, /run/media/ilya/Флешка/
• NTFS (via ntfs-3g)
Comment 3 John Kizer 2025-04-10 00:31:24 UTC
Thanks - for what it's worth, I reformatted my USB drive as NTFS, but still couldn't reproduce on my device. I wonder if something is different about how Tumbleweed is configured?

Does running the umount command, as listed in that error message, manually in a terminal work?
Comment 4 Ilya Bizyaev 2025-04-10 08:09:52 UTC
$ umount --verbose --all-targets /dev/sda1
umount: /run/media/ilya/Флешка: must be superuser to unmount.

$ sudo umount --verbose --all-targets /dev/sda1
umount: /run/media/ilya/Флешка (/dev/sda1) unmounted