On 12/1/17 at 2:43 PM, [email protected] (David Stein) wrote:

But I'm continuously running into an issue with High Sierra and Gatekeeper, which is part of MacOS's security and malware infrastructure.

The problem is that almost any .py file I create or edit with BBEdit gets instantly flagged by Gatekeeper as "an untrusted file from the internet," and it gets quarantined. [...]

You left out a very important part of your exchange with Tech Support, which is this: the quarantine attribute is being added to your files by "com.apple.CloudDocs.MobileDocumentsFileProvider", which is the signature of the iCloud Drive service.

Thus, as Tech Support advised, the quarantine attribute is being added to files stored in your iCloud Drive folder (or any folder therein) *by* iCloud Drive.

As to how you might stop iCloud Drive from quarantining your Python files, that really depends on why iCloud Drive is applying the quarantine, and I don't think anyone who doesn't have the source code to the OS can tell you (and someone who does have the source code to the OS likely won't).

If it's because the files are executable, then you could try this:

defaults write com.barebones.bbedit MakeShebangScriptsExecutable -bool NO

This may have unintended consequences, though, since there are many legitimate situations in which a #! script file needs to be executable.

If that doesn't work, or if it creates other problems for your workflow, then your only alternative is to use Dropbox or some other service to synchronize files between your computers.

If you don't need syncing, just turn off iCloud Drive (after rescuing everything you need, since iCloud seems to like deleting things when you turn it off).

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to