XojoFramework permissions

I have a customer that deploys my app with munki. He gets a crash on launch because of the XojoFramework permissions.

Munki installs this app as “root:admin”: drwxrwxr-x@ 13 root admin 442 Oct 24 05:24 myApp

In doing this – the application does not launch (either throws up a dialog box that says it won’t run, or just a crash report). If he changes the ownership of the files/folder (i.e., to “computeraccount:admin”) – then the application launches. However, he can not deploy using that method so it must be “root:admin”

When installed as “root:admin”, the application will throw up an error indicating the following issue:

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @executable_path/…/Frameworks/XojoFramework.framework/Versions/A/XojoFramework
Referenced from: /Applications/MaxBulk Mailer/MaxBulk Mailer.app/Contents/MacOS/MaxBulk Mailer
Reason: no suitable image found. Did find:
/Applications/MaxBulk Mailer/MaxBulk Mailer.app/Contents/MacOS/…/Frameworks/XojoFramework.framework/Versions/A/XojoF ramework: open() failed with errno=13
/Applications/MaxBulk Mailer/MaxBulk Mailer.app/Contents/MacOS/…/Frameworks/XojoFramework.framework/Versions/A/XojoF ramework: open() failed with errno=13

If he changes them from:

-rwx–x--x@ 1 root admin 3735344 Oct 24 05:23 XojoFramework

to:

-rwxr-xr-x@ 1 root admin 3735344 Oct 24 05:23 XojoFramework

with chmod a+r XojoFramework

Then the application launches without crashing when owned by root:admin

So the question is, can I distribute the app with those permissions? Any problem in doing so?

Dyld error 13 is, I believe, “no access”
Unix is kind of … well … cryptic about what is required to be readable so it can be executed
And what can be JUST executable without having to be readable
Lots of long threads everywhere - but they usually cover shell scripts & app binaries

However this being a library I’d expect that it must also be readable - which equates to your experience

The @ is indicative of ACLS, you need to get rid of these Leviathan before they gestate. Also double for xattr, while you are at it.

chmod -rn should destroy the ancient evil.

I would also make sure that the app you give him to start with has all this crap removed, are you using App Wrapper? If so, in the “other” pane there are options from removing these vicious heart attack inducing settings while wrapping. “Remove file meta data” and select “ACLs”, “xattr” and “Quarantine”.

Do you mean ‘chmod -rn XojoFramework’ will fix the problem as well? I can ask my customer to try this command.