extracting archives from within nautilus omits subfolders

Bug #1917812 reported by Christian Rauch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-autoar (Ubuntu)
Fix Released
High
Unassigned
Bionic
Fix Released
Undecided
Marc Deslauriers
Focal
Fix Released
Undecided
Marc Deslauriers
Groovy
Fix Released
Undecided
Marc Deslauriers
Hirsute
Fix Released
High
Unassigned

Bug Description

When extracting ZIP archives from within nautilus (e.g. right-click -> "Extract Here") the extracted file structure is missing subfolders.

Reproduce:
1. download a ZIP archive that includes files and folders in the root (e.g. https://github.com/electron/electron/releases/download/v12.0.0/electron-v12.0.0-linux-x64.zip)
2. within nautilus right-click on the archive and select "Extract Here"
3. check the extracted folder, you will see that only the files have been extracted, the folders are missing

This is an issue that was recently introduced, as this used to work a while ago on Ubuntu 20.04.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nautilus 1:3.36.3-0ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-44.50~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 4 22:09:52 2021
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:

CVE References

Revision history for this message
Christian Rauch (christianrauch) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it works correctly on the current Ubuntu serie. nautilus uses libarchive but that package didn't change in focal, unsure why it was working and isn't anymore for you...

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Revision history for this message
Christian Rauch (christianrauch) wrote :

I am experiencing this issue on two laptops with 20.04.2. But I just verified that it indeed works as expected with a Live ISO inside a VM.

Is there a way to debug this?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Checking the details, that's a regression from the recent gnome-autoar security update, the fix from https://gitlab.gnome.org/GNOME/gnome-autoar/-/commit/cc4e8b7c is needed

affects: nautilus (Ubuntu) → gnome-autoar (Ubuntu)
Changed in gnome-autoar (Ubuntu):
importance: Low → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

The follow up fix is in the 0.3 update in hirsute which is why it works there, other series still need to be fixed

Changed in gnome-autoar (Ubuntu):
status: New → Fix Released
Changed in gnome-autoar (Ubuntu Xenial):
status: New → In Progress
Changed in gnome-autoar (Ubuntu Bionic):
status: New → In Progress
Changed in gnome-autoar (Ubuntu Xenial):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in gnome-autoar (Ubuntu Bionic):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in gnome-autoar (Ubuntu Focal):
status: New → In Progress
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in gnome-autoar (Ubuntu Groovy):
assignee: nobody → Marc Deslauriers (mdeslaur)
status: New → In Progress
no longer affects: gnome-autoar (Ubuntu Xenial)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-autoar - 0.2.4-2ubuntu0.2

---------------
gnome-autoar (0.2.4-2ubuntu0.2) groovy-security; urgency=medium

  * SECURITY REGRESSION: missing subfolder creation (LP: #1917812)
    - debian/patches/CVE-2020-36241-2.patch: do not fail if parent folders
      don't exist in gnome-autoar/autoar-extractor.c.

 -- Marc Deslauriers <email address hidden> Mon, 08 Mar 2021 07:23:33 -0500

Changed in gnome-autoar (Ubuntu Groovy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-autoar - 0.2.3-1ubuntu0.2

---------------
gnome-autoar (0.2.3-1ubuntu0.2) bionic-security; urgency=medium

  * SECURITY REGRESSION: missing subfolder creation (LP: #1917812)
    - debian/patches/CVE-2020-36241-2.patch: do not fail if parent folders
      don't exist in gnome-autoar/autoar-extractor.c.

 -- Marc Deslauriers <email address hidden> Mon, 08 Mar 2021 07:27:38 -0500

Changed in gnome-autoar (Ubuntu Bionic):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-autoar - 0.2.3-2ubuntu0.2

---------------
gnome-autoar (0.2.3-2ubuntu0.2) focal-security; urgency=medium

  * SECURITY REGRESSION: missing subfolder creation (LP: #1917812)
    - debian/patches/CVE-2020-36241-2.patch: do not fail if parent folders
      don't exist in gnome-autoar/autoar-extractor.c.

 -- Marc Deslauriers <email address hidden> Mon, 08 Mar 2021 07:27:13 -0500

Changed in gnome-autoar (Ubuntu Focal):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.