Hello g00r00!
Thank you for your reply!
On 05 Aug 2021, g00r00 said the following...
Sorry, my fault (see one of my later replies) -- the Pack Cmd on Linu must have %2 unquoted as zip on that platform does not perform its ow
I am going to hold off on any more updates until we are using the
version with the ">" added to the execution on the Linux side.
Update the latest version and then lets review the archive stuff after that!
I'm currently using the following:
Active ³ Yes
Extension ³ ZIP
OS ³ Linux
Description ³ Info-ZIP Utilities
Pack Cmd ³ zip -qj9 "%1" %2
Unpack Cmd ³ unzip -oqqjC "%1" "%2" -d "%3"
View Cmd ³
(Notice the "%1" and "%3" but %2; speaking of quoting or not quoting "%3".)
It seems to be working just fine.
From the (built-in) archive viewer, I could navigate inside a ZIP containing a subdirectory and some files, and it viewed (= unpacked and displayed) them just fine.
An strace looks fine as well:
write(17, "2021.08.05 22:22:14 Executing: unzip -oqqjC \"/mnt/bbs/mystic/files/local/uploads/test.zip\" \"subdir/test2.txt\" -d \"/home/bbs/mystic/temp2/\" > /dev/null 2>&1\n", 156) = 156
close(17) = 0
fork(strace: Process 2298 attached
) = 2298
[pid 2298] execve("/bin/sh", ["/bin/sh", "-c", "unzip -oqqjC \"/mnt/bbs/mystic/files/local/uploads/test.zip\" \"subdir/test2.txt\" -d \"/home/bbs/mystic/temp2/\" > /dev/null 2>&1"], ["LANG=en_US.UTF-8",
Best regards
Bj”rn
--- Mystic BBS v1.12 A47 2021/08/05 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)