Paul Marquess - 2026-04-23

Very nice bug report Nicholas

Unfortunately, I'm not seeing this is a valid issue that unzip should do anything about.

Here is a real life example that I don't think is unique to my workflow: I have a shortcut to my development directory tree setup as a symbolic link -- so something like ~/my-code will actually point to the real path where my dev code lives.

If I want unzip some content into my development tree, I would write this

unzip myzip.zip -d ~/my-code

or this

unzip myzip.zip -d ~/my-code/new-files

I'd expect both of these to work.

I'm not sure if it is possible to spot the difference between valid/safe use-cases and malicious one.

If I've misinterpreted your issue, please reply with more detail.