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.