Opened 10 years ago

#70 new defect

Unzipping Mac apps kills symbolic links

Reported by: Iritscen Owned by: Alloc
Priority: major Component: AEI2
Keywords: Cc:

Description

This is a documented bug in Java, that the built-in zip functionality does not respect symlinks when unzipping a zip file with them in it. As seen in the screenshot, they start as aliases before zipping and then become non-links upon unzipping.


This limitation is briefly discussed here: http://stackoverflow.com/questions/14733868/how-can-i-unzip-a-symbolic-link-using-maven. I think the solution is to have Java use the Mac's command line to unzip the file.

So far, this bug does not seem to have harmed anything. Sparkle still seems to be able to check for updates in Oni, and there are few other Mac apps on the Depot, but this is something to be aware of in case we do have issues in the future with any Mac apps.

Attachments (1)

Mac Oni app Java unzip.jpg (100.6 KB) - added by Iritscen 10 years ago.

Download all attachments as: .zip

Change History (1)

Changed 10 years ago by Iritscen

Note: See TracTickets for help on using tickets.