New Macs – Unzip Omnis
Hey Michael,
This could be due to quarantining files. This is part of the gatekeeper
mechanism introduces in 10.9 and slowly becoming more and more stricter.
As downloading executables is the main vector for trojans and virusses
and stuff to be installed on peoples computers Apple is doing their bit
to combat this menace.
Whenever you download a zip file from the internet it gets earmarked.
Whenever you unzip that zipfile any executable files get marked as
quarantined.
If an application is properly code signed, and the OS can thus validate
that the application you just downloaded is sound and safe, the
quarantine mark is cleared and your application runs. It is possible
only parts of the app bundle get cleared, it all depends on what the
modifications to the app bundle are since it was code signed (I do
believe Omnis code signs the base application).
If this is indeed the case the best way is to use installers instead of
zip files, we use bitrock and then code sign the installer itself. Mac
OS X trusts the installer and therefor trusts whatever it installs.
You can however manually clear these earmarks (attributes) with the
xattr command.
Open up terminal and execute:
xattr yourapp.app
I think there is a recursive option in that command that allows you to
see if files within the app building have their own attributes. Note
that many attributes are harmless or even useful but the one to look out
for is com.apple.quarantine
You can clear an attribute with:
xattr -d com.apple.quarantine yourapp.app
Again use the recursive option (probably -r) to clear out the attribute
from files held within.
Cheers,
Bas
On 24/6/17 6:39 am, Michael Mantkowski wrote:
> For 20 years we installed our Omnis product on the Mac by Zipping Up a complete folder containing our product and unzipping it into the Applications Folder of a Mac Computer.
>
> The newest version of Mac OS however seems to be locking the files in some way when they are Unzipped so that Omnis will not run. Get a few errors about how it cannot access the icon files and things like that and then it shuts down. I have tried resetting read write status of the folder and files individually and cannot seem to get it to work. I am not even sure what it thinks is wrong.
>
> What we have had to resort to is unzipping the program on an older OS version and then copying it directly over the network to the local computer or using a flash drive to move it. It then works fine.
>
> Does anyone know what the unzip process is doing that could account for this?
>
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
>
>
—
Kindest Regards,
Bastiaan Olij
e-mail: bastiaan@basenlily.me
web: www.basenlily.me
Skype: Mux213
www.linkedin.com/in/bastiaanolij
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com