Opened 11 years ago

#70 new defect

Unzipping Mac apps kills symbolic links

Reported by: Iritscen Owned by: Christian
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 11 years ago.

Download all attachments as: .zip

Change History (1)

by Iritscen, 11 years ago

Attachment: Mac Oni app Java unzip.jpg added
Note: See TracTickets for help on using tickets.