Re: Uninstalling

Glyph <[email protected]> Fri, 21 Jul 2017 01:22:29 -0700
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
> On Jul 20, 2017, at 3:24 AM, Piet van Oostrum <[email protected]> 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  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG