> On Jul 20, 2017, at 3:24 AM, Piet van Oostrum <pie...@vanoostrum.org> wrote:
>
> Normally you should never touch anything in /usr/bin or /usr/lib. That is
> Apple territory.
You can't any more.
$ touch /usr/bin/just-testing
touch: /usr/bin/just-testing: Operation not permitted
$ sudo touch /usr/bin/just-testing
Password:
touch: /usr/bin/just-testing: Operation not permitted
Since System Integrity Protection came out with El Capitan, unless you reboot
into recovery mode and type some "void your warranty" commands into the
terminal app on the recovery partition, it's simply no longer possible for
3rd-party applications and installers to write files into /usr/bin. Attempting
to install over /usr/bin/python on any macOS released in the last 2 years will
just fail.
-glyph
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG