Open NinjaCowboy opened 12 months ago
The -l
option only exists in p7zip 4.20+, 7-zip has never had it.
Also affects Debian, engrampa 1.26.1-2 and 7zip 23.01+dfsg-7
The name of the 7zip
binary program has been changed in Debian
debian-7zip
7zip-org
7zz (7-Zip) - standalone full version of 7-Zip that supports all formats.
7zzs (7-Zip) - standalone full version of 7-Zip that supports all formats (static library linking).
7z (p7zip) - 7-Zip that requires 7z.so shared library, and it supports all formats via 7z.so.
7zr (p7zip) - standalone reduced version of 7-Zip that supports some 7-Zip's formats:
7z, xz, lzma and split.
7za (p7zip) - standalone version of 7-Zip that supports some main formats:
7z, xz, lzma, zip, bzip2, gzip, tar, cab, ppmd and split.
@NinjaCowboy Why does the -l
parameter appear.
if (recursive)
fr_process_add_arg (comm->process, "-l");
recursive
has always been FALSE
@NinjaCowboy Can we close this issue
Expected behaviour
Engrampa should be able to create zip files from Caja's context menu or the command-line.
Actual behaviour
Attempting to do so results in an error popup saying "An error occurred while adding files to the archive.".
Steps to reproduce the behaviour
engrampa -a test.zip hello.txt
MATE general version
1.26.1
Package version
engrampa-1.26.1_1
Linux Distribution
Void Linux
Link to bugreport of your Distribution (requirement)
Additional Information
This appears to be caused by engrampa passing an invalid
-l
switch to 7z. Running strace (strace -f -e trace=execve -s 200 engrampa -a test.zip hello.txt
) reveals that engrampa passes the-l
switch to 7z, which doesn't seem to be available (at least not in this version).Running
/usr/bin/7z a -tzip -mem=AES128 -bd -y -l -mx=7 -- /home/ninja/test.zip hello.txt
gives an error.The output of
7z --help
on my system does not mention the-l
switch at all, but it is mentioned in some online manpages.