[Bug 1815480] Re: “Extract Here” only creates empty files (0 bytes) for .zip files created by ownCloud
Sebastien Bacher
seb128 at ubuntu.com
Thu Feb 14 15:59:45 UTC 2019
Ok, in fact I can confirm on cosmic and updating libarchive to the
current disco version fixes it,
https://launchpad.net/ubuntu/+source/libarchive/3.3.3-4/+build/16358983/+files/libarchive13_3.3.3-4_amd64.deb
so it's fixed in the current Ubuntu serie. Could be a bug to SRU fix if
someone was wanting to find the corresponding libarchive commit
** Package changed: nautilus (Ubuntu) => libarchive (Ubuntu)
** Changed in: libarchive (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libarchive in Ubuntu.
https://bugs.launchpad.net/bugs/1815480
Title:
“Extract Here” only creates empty files (0 bytes) for .zip files
created by ownCloud
Status in libarchive package in Ubuntu:
Fix Released
Bug description:
For any .zip archive generated by the ownCloud software, it seems that
extracting the files using Nautilus results in correctly-named
directories/files to be created, but all files are actually empty (0
bytes). The archive can be extracted without issues using file-roller,
unzip or 7z:
$ unzip -t test.zip
Archive: test.zip
testing: test/ OK
testing: test/f1.txt OK
testing: test/f2.txt OK
testing: test/f3.txt OK
No errors detected in compressed data of test.zip.
$ unzip test
Archive: test.zip
creating: test/
extracting: test/f1.txt
extracting: test/f2.txt
extracting: test/f3.txt
$ 7z x test.zip
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (306D4),ASM,AES-NI)
Scanning the drive for archives:
1 file, 8656 bytes (9 KiB)
Extracting archive: test.zip
--
Path = test.zip
Type = zip
Physical Size = 8656
64-bit = +
Everything is Ok
Folders: 1
Files: 3
Size: 7850
Compressed: 8656
Expected behavior: Download the attached file “test.zip”, right-click the file in Nautilus and choose “Extract Here”. A directory “test” containing three non-empty files “f1.txt”, “f2.txt” and “f3.txt” should be created.
Actual behavior: All three files are empty (0 bytes).
Nautilus version: 1:3.26.4-0ubuntu7.1 (cosmic)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1815480/+subscriptions
More information about the foundations-bugs
mailing list