Bug #49103

Extraction Extension: Set Executable flags for MAc and Linux

Added by coalado over 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:08/01/2014
Priority:NormalDue date:
Assignee:jiaz% Done:

100%

Category:General
Target version:020 - Next Release 2.0
Resolution:

Description

The archive extractor fails to set execute permissions properly, on application files contained in zip, rar, etc., archives. Note this does not apply if the application is contained inside a .dmg file.

Double-clicking on an extracted application causes it to bounce once in the dock and then exit. The console error starts with:
2014-07-30 7:44:21.330 PM com.apple.launchd.peruser.501242: (com.apple.TextEdit.5470403217) Job failed to exec(3) for weird reason: 13

If you right-click on the application and choose "show package contents", then navigate to Contents-->MacOS, you can see that the binary file does not have execute permission set.

Extracting the archive instead using the built-in OS X Archive Utility, or with The Unarchiver, UnRarX, etc., creates a working application with the proper exectue permissions.

Also available in: Atom PDF