Bug 474814 - Moving a file to a mount that turns to readonly deletes the source file
Summary: Moving a file to a mount that turns to readonly deletes the source file
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 19:40 UTC by saunders
Modified: 2023-09-23 19:40 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 saunders 2023-09-23 19:40:38 UTC
SUMMARY

STEPS TO REPRODUCE
1. begin to move a file between two different mounts, file is in the process of copying
2. target mount was btrfs and puked due to a recent kernel bug and switched to readonly
3. file stopped copying and dolphin deleted the source file effectively deleting the file altogether.

OBSERVED RESULT
file was not moved and also deleted.

EXPECTED RESULT
dolphin realised the file could not be moved and not delete the source file.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.14
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.4 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 3950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070/PCIe/SSE2

ADDITIONAL INFORMATION
I know this is very much an edge case (kernel bugs) but we've all been hit by them. Luckily the file wasn't important.