I'm new to Monterey, coming from (I think) the last version of OS X before it became macOS -- definitely before this SIP stuff started to make life interesting.
I used to be able to say these things
$ ls /Applications
$ open /Applications/Messages.app
and get the obvious (working) results. Now, while I can see all of /Applications
in Finder, I get a truncated list (of things I've installed and Safari.app
/ Xcode.app
for some reason):
# ls /Applications
Firefox.app MenuMeters.app Utilities calibre.app
Google Chrome.app Safari.app VLC.app TeX
VictronConnect.app MacPorts Xcode.app
$ open /Applications/Messages.app
The file /Applications/Messages.app does not exist.
$ open -a Messages
<app opens just fine>
(XQuartz.app
is visible in Utilities
but nothing else.)
I have set Terminal.app
to have full disk access in System Preferences. I'm running bash
from MacPorts.
Is there a way to convince SIP (?) to allow ls
and open
to work in these special directories?
I can't be the first person to wish this behaviour were more permissive but I've had no luck googling it.
Thanks!
/System/Applications