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?