Bug 468314

Summary: Cannot Unmount SD card due to kioslave5 process
Product: [Frameworks and Libraries] frameworks-kio Reporter: nadimhoque
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nadimhoque 2023-04-09 04:55:25 UTC
SUMMARY

After copying files from my SD card using Dolphin, I am not able to unmount the card and from looking at lsof, kioslave5 has the files in the sd card open. I also want to mention that much time has passed during my attempt to unmount the disk.


STEPS TO REPRODUCE
1.  Mount the SD card using Dolphin
2. Copy the files from the SD card using Dolphin
3. Attempt to unmount the disk using both CLI and GUI

OBSERVED RESULT

Attempt to unmount the card yields and error for the following UI:
Dolphin/KDE:
One or more files on this device are open within an applicaiton

CLI:
umount: $mountpoint: target is busy

EXPECTED RESULT

I should be able to simply eject sdard after successful copy

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

This is similar to ticket 
https://bugs.kde.org/show_bug.cgi?id=406721