Skip to content

Invalid check for sufficient disk space during partial extraction #531

Open
@dtantsur

Description

@dtantsur

The check introduced in #495 seems to take into account the entire archive instead of the file I'm trying to extract. This results in "insufficient disk space" error when extracting a small file from a large archive. I've tried it with both .zip and .tar.gz files, both of which should support on-fly extraction. Opening a file from an archieve works correctly.

Reproducible: Always

Steps to Reproduce:

  1. Take an archive with unpacked size more than free space on the disk (8G vs 3G in my case)
  2. Try to extract a sufficiently small file (18 MiB in my case)

Actual Results:
An error window with "Insufficient disk space"

Expected Results:
The file is extracted

engrampa-1.28.2-1.fc41.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions