Hello g00r00!
When downloading a file list, and choosing to compress it, Mystic appears to be
using a wildcard pointing to the temp directory instead of pointing out the
exact file (allfiles.txt) when creating the archive:
write(13, "2021.08.08 20:21:37 Archive: zip -qj9 \"/home/bbs/mystic/temp1/allfiles.ZIP\" -- /home/bbs/mystic/temp1/* > /dev/null 2>&1\n", 121) = 121
[pid 8945] execve("/bin/sh", ["/bin/sh", "-c", "zip -qj9 \"/home/bbs/mystic/temp1/allfiles.ZIP\" -- /home/bbs/mystic/temp1/* > /dev/null 2>&1"], ["LANG=en_US.UTF-8", (cut)
Is there a reason for this (other than that it is convenient :-D)?
As this is what hinders %2 of the Pack Cmd for ZIP, ZOO and ARC to be quoted ("%2"), as they then interpret the "*" verbatim.
Any left-overs in a temp directory for the node would also risk being added
to the archive, I think.
Does Mystic do this for other things as well (e.g. QWK)?
Just curious.
Thanks in advance!
Best regards
Bj”rn
--- Mystic BBS v1.12 A47 2021/08/08 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
|