Bug 507427

Summary: "No space available on device" message when extracting multi volume rar archive
Product: [Applications] dolphin Reporter: LaughingMan <lingm+kdebugs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description LaughingMan 2025-07-24 07:39:56 UTC
SUMMARY
"Right click -> Extract" on a multi volume rar archive shows an error message claiming that there's "No space available on device" even though enough space is available.
STEPS TO REPRODUCE
1. Take some large input file. Let's say 20 GiB.

2. Compress it such that the number of parts multiplied by the size of the input file exceeds your free space on the device. The command should look like this: `rar a out.rar input.bin -m0 -v50m`. The `50m` is the size per part. Adjust as needed for your free disk space. The `-m0` just disables compression.

3. Rename input file so there's no name conflict.

3. Right click -> Extract -> Extract here

OBSERVED RESULT
Error messages claiming "No space available on device".

EXPECTED RESULT
Archive extracts successfully.

ADDITIONAL INFORMATION
Couldn't reproduce with a 7z multi volume archive. Looks specific to the rar format.