All:

I'm a fairly new BBEdit user, having upgraded after years of good 
experiences with TextWrangler. (I encountered some bumps and bruises in the 
transition, but Patrick has been both very responsive and very helpful - 
kudos on providing great customer service!)

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. The behavior is simple and reproducible - simply 
open or create a file with a .py extension, make some change, save it, and 
run it. In almost all cases, I get the response:

-bash: (filename).py: /usr/bin/env: bad interpreter: Operation not permitted


Fixing it is trivial, with the command:

xattr -d com.apple.quarantine (filename).py


...but the next time I edit the file with BBEdit and try to run it, the 
quarantine gets reapplied.

This behavior has a few quirks:

1) It *only* happens with BBEdit. No other apps on my machine cause this 
problem to occur. I don't know that BBEdit is *at fault* here - it seems 
much more likely a MacOS problem - just noting that the problem is specific 
to BBEdit.

2) It doesn't actually happen with every file and every save. It *does* 
seem to happen consistently with a file once it starts happening. I have 
some Python files that I've saved hundreds of times over the past month or 
so, and Gatekeeper quarantines them every time.

Does anyone know what's going on here? Is anyone else having this 
experience?

-- 
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