Bug 465989 - Extracting a file from .xz archive to partition with insufficient disk space silently drops data
Summary: Extracting a file from .xz archive to partition with insufficient disk space ...
Status: RESOLVED DUPLICATE of bug 393959
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
Depends on:
Reported: 2023-02-18 10:58 UTC by bugs-kde-account
Modified: 2023-02-18 11:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description bugs-kde-account 2023-02-18 10:58:14 UTC

Extracting a large file did not fail despite not all data being extracted. Used applications were Dolphin and Ark. Extraction was of a file in an *.xz archive; Ark reported the extracted file size as unknown. The file was extracted from an archive on an ext4 partition to that same partition.

1. get a large enough *.xz archive, e.g. https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2022-09-26/2022-09-22-raspios-bullseye-arm64-lite.img.xz (uncompressed size for that particular file should be 2 009 071 616 bytes)
2. open the archive with Ark, e.g. double-click in Dolphin
3. (observe the free space on the target partition (according to Dolphin))
4. extract the compressed file, e.g. by drag-and-drop to Dolphin, to a partition with insufficient space


The file will grow only up to the free space on the partition, then no more. After some additional time (presumably complete decompression), the file is reported as completely extracted.


The extraction should be reported as failed due to insufficient disk space.

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Nicolas Fella 2023-02-18 11:53:16 UTC
Fixed in Ark 22.08

*** This bug has been marked as a duplicate of bug 393959 ***