>   a. Are you sure you want to open the structure file in read only mode? This 
> dialog has a 4D icon on it.
> 
>   b. If you say OK, a second message will appear: "you cannot open this 
> database because the data file (or one of its segments) is locked. 
> 
>   c. Then you get an error message.

Robert,

I’m battling through this myself. It appears the issue here is that the 
‘quarantine’ that is being mentioned is OS X literally moving our application 
to a temporary DMG and run from there. This DMG is a read only drive, so the 
structure is locked, and so is the data file if it is part of the application 
package.

This has not been happening to us on all Sierra upgrades, but I have one now 
that no matter what I do or where I put the application, it is moved from where 
I am running it.

From all the reading I’ve done in the last week, it appears my only option is 
signing the app itself, or as mentioned here, possibly the DMG that we use to 
send our app.

It’s definitely new behavior with Sierra. Apple has finally removed the “Allow 
from anywhere” option in the Preferences > Security & Privacy page, although 
there is a Terminal command we can use to bring it back.

Unfortunately, that still doesn’t stop this quarantining from happening.

I just wish it would happen on all Sierra systems so there was at least some 
consistency.

Randy

----------------------------------------------------------------------
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • (845) 359-0298 • PrintPoint, Inc • 57 Ludlow Lane • 
Palisades, NY 10964 


 

> On Nov 14, 2016, at 10:26 AM, Robert Livingston <[email protected]> wrote:
> 
> Thanks Keisuke Miyako
> 
> 
> The resource that you pointed me to is called macOS Code Signing in Depth.  
> Sadly it is out of my depth. 
> 
> 
> Apparently, as you bring a file back from the Internet it is "quarantined" in 
> some way. On the Mac we are familiar with the warning dialog that "such and 
> such is from an unidentified developer; are you sure you want to open" 
> 
> I have never had problems with this if I answered this dialog with the 
> statement that I understood and was willing to open.
> 
> But now after I say that I want to open the file not withstanding, I get 
> these messages:
> 
> 
> 
>   a. Are you sure you want to open the structure file in read only mode? This 
> dialog has a 4D icon on it.
> 
>   b. If you say OK, a second message will appear: "you cannot open this 
> database because the data file (or one of its segments) is locked. 
> 
>   c. Then you get an error message.
> 
> 
> So somehow even after you have said that you want to open the file, you 
> cannot. In some fashion 4D sees it locked and no matter how you answer the 
> dialogs you cannot get the application to run.
> 
> In my experience, this was not true a couple months ago. I do not understand 
> the change. I have installed Sierra in the interim and I wondered whether 
> that might be responsible.
> 
> 
> There seem to be some complex (for me) things you can do in Terminal that 
> might get a file unquarantined but this again is over my head.
> 
> So from my perspective, this is hugely annoying and I do not see any "easy" 
> work-around.
> 
> I can understand being warned that a file was downloaded from the Internet. 
> But why, after you have acknowledged this and saying that you wish to proceed 
> does 4D prevent this?
> 
> 
>> On Nov 14, 2016, at 6:23 AM, Keisuke Miyako <[email protected]> wrote:
>> 
>> time for some reading:
>> 
>> https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17
>>  
>> <https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17>
>> 
>> having said that, the concept of marking downloaded zip files is not a new 
>> thing.
>> 
>> Google "com.apple.quarantine"
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to