The Android application Airdroid packs multiple files in a zip file when importing from a android device. This downloaded zip file when extracted yields to empty files, the same zip file when extracted with other archive managers( I tested with peazip and the command line utility unzip) produces the files contained in the zip correctly. On initial analysis I found the file permissions of the files in the zip having read only permissions and with sticky bit. Reproducible: Always Steps to Reproduce: 1. Download multiple files from your android device using Airdroid app 2. Extract the downloaded zip file using ark 3. Check the file size of the extracted files with that of the expected ones Actual Results: Ark extracts files that are empty instead of extracting the zip correctly Expected Results: When the zip file with multiple files download with the android app Airdroid is extracted it should produce the files contained in the zip correctly. Two of the lines I found interesting in the debug logs are below " Kerfuffle::Archive::create: Loading plugin "kerfuffle_libarchive" ark(6055) Kerfuffle::ReadOnlyArchiveInterface::ReadOnlyArchiveInterface: "
Created attachment 88905 [details] Sample zip file containing files downloaded with Airdroid app from android device
One small correction in the description, after ark extracts the files, the file size remains correct, but the file content is null when checked with a hex editor like okteta
Confirmed. This looks weird, and looks like a problem with libarchive's zip implementation: infozip works fine, while bsdtar and libarchive extract null files.
Extraction of archives containing files with readonly permissions and sticky bit set works when using the clizip plugin. The problem is caused by Kubuntu following Debian in patching Ark to use the libarchive plugin for zip archives. Please file a bug at Kubuntu. Resolving as downstream.