ls Desktop Operation (still) not Permitted
I have a brand new Mac Book Pro with the M1 chip. I have installed a few apps (homebrew, docker, IntelliJ, nothing too weird) for my job. I probably *should have* tried this after unboxing, but who knew!?? Opening a terminal and cd'ing to the Desktop, the ls operation (that's ell ess) fails with "Operation not permitted". I know enough to intuit that this is odd behavior, the very first time. But trying to ls the Desktop folder form the containing folder, using sudo, switching to root via su (something I have not had to do for YEARS) and getting the same result, DROVE me to Google for answers. And that led to this forum, where it was asked by th3rt10n about Catalina in 2021.
I actually started with Big Sur, and within weeks was pestered to upgrade to Monterey, which I did. So the machine has received a fair amount of use. But not a fanatical amount. I have a feeling if I had tested this upon unboxing It would have behaved identically. There was a response to th3rt10n's question, provided by MrHoffman: "System Preferences > Security & Privacy > Privacy > select Full Disk Access on the left, add Terminal.app on the right, and see if things work better."
Of course they would. Security holes, anyone?
So. Not gonna do that. I would like someone who really knows what's really going on (someone in the assembly line?) to explain why this would be this way. Why I can ls every folder in /home/me except Desktop.
It should not be this way. Not even in theory. If you have something to hide, there are plenty of better places to do so. If you're looking to open up a sea of Mac security holes, then well done! Lots of folks will see this (extremely suspicious) problem, and an answer that really fixes the problem and move on.
I don't get it. Please help me get it. Thank you.