com.apple.quarantine on bash scripts

64 views
Skip to first unread message

Marius Schamschula

unread,
Oct 30, 2019, 8:50:48 AM10/30/19
to BBEdit Talk
This morning, I updated a /bin/bash script, only to find

marius$ mpup -u
/Users/marius/Development/MacPorts/ports/bin/mpup: /bin/bash: bad interpreter: Operation not permitted

A quick search found:

marius$ xattr -l mpup
com.apple.TextEncoding: UTF-8;134217984
com.apple.quarantine: 0086;5db98431;BBEdit;

I can clear the issue:

marius$ xattr -d com.apple.quarantine mpup

xattr -l mpup
com.apple.TextEncoding: UTF-8;134217984

This is a new problem with BBEdit 13, as I never ran into this using previous versions.

Rich Siegel

unread,
Oct 30, 2019, 9:22:36 AM10/30/19
to bbe...@googlegroups.com
On 10/30/19 at 8:46 AM, mscham...@gmail.com (Marius Schamschula) wrote:

> This morning, I updated a /bin/bash script, only to find
>
> marius$ mpup -u
> /Users/marius/Development/MacPorts/ports/bin/mpup: /bin/bash: bad
> interpreter: Operation not permitted

<https://www.barebones.com/support/bbedit/quarantine.html>

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

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

Robert Lockwood

unread,
Oct 30, 2019, 11:41:40 AM10/30/19
to bbe...@googlegroups.com
Apple Catalina as using ZSH now, if you’re using Catalina try that.

--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://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 bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/0520dac6-338f-4ee3-840f-2e7c8df84a18%40googlegroups.com.
--
Sent from Gmail Mobile

Marius Schamschula

unread,
Oct 30, 2019, 12:47:07 PM10/30/19
to bbe...@googlegroups.com
This happened on a Mojave machine.

Yes, it also has zsh.

However, I've been using bash for 25 years, and Apple's choice isn't my own. There are some subtle incompatibilities between bash and zsh.

All my machines have the current GPL 3 version of bash installed via MacPorts.

I do have a non-production machine running Catalina, where I have enabled zsh. Needless to say, I have to rebuild all preference files...



--
Marius Schamschula

Marius Schamschula

unread,
Oct 30, 2019, 8:20:21 PM10/30/19
to BBEdit Talk
I could swear that I was asked to set this when I installed earlier versions of BBEdit (when Sandbox support got added). I've found that this setting has been reset after updating to BBEdit 13.0.2). Annoying!

Patrick Woolsey

unread,
Oct 31, 2019, 11:24:01 AM10/31/19
to bbe...@googlegroups.com
On 10/30/19 at 7:42 PM, mscham...@gmail.com (Marius
Schamschula) wrote:

>I could swear that I was asked to set this when I installed
>earlier versions of BBEdit (when Sandbox support got added).
>I've found that this setting has been reset after updating to
>BBEdit 13.0.2). Annoying!
>

Since BBEdit will not reset this option of its own accord, I
strongly suspect an OS update mangled same at some point in between.


Regards

Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>

Reply all
Reply to author
Forward
0 new messages