On Sun, Apr 17, 2022 at 09:47:57AM -0500, Ryan Schmidt wrote: > > > On Apr 17, 2022, at 09:45, Christian Calderon wrote: > > >> You would not be able to make a symbolic link at /usr/bin/python because > >> /usr/bin is a protected directory. > > > > TIL. Is that something I could work around by disabling SIP? > > On macOS 10.x, yes. On macOS 11 and later, my understanding is that the > system volume is cryptographically sealed and there is no way for you to > modify it without breaking that seal, which presumably has undesirable > consequences. > > https://eclecticlight.co/2020/11/30/is-big-surs-system-volume-sealed/
I wonder if fuse-overlayfs <https://github.com/containers/fuse-overlayfs> on top of osxfuse <https://ports.macports.org/port/osxfuse/> would allow apparent modification of /usr/bin without touching the underlying sealed FS. I see that Homebrew has a formula for it <https://formulae.brew.sh/formula/fuse-overlayfs>, though there doesn't seem to be a port for it in MacPorts. --Gregory
