Public bug reported:

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)

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cosmic

** Attachment added: "Example .zip archive which exhibits the problem"
   https://bugs.launchpad.net/bugs/1815480/+attachment/5237721/+files/test.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815480

Title:
  “Extract Here” only creates empty files (0 bytes) for .zip files
  created by ownCloud

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1815480/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to