I use Spotlight to open folders, but quite often the Finder opens on
~/ instead of the folder I was looking for. I realised it happens when I try to reveal a folder which lies in
~/Documents/. Revealing a folder somewhere else, eg
~/Music/iTunes works like a charm. But something like
~/Documents/foo/ falls back to
It might have happened for the first time after a system update, a few weeks/months ago. I am currently running macOS 11.2.1.
I suspected privacy privileges, and I reset them with
tccutil reset All but it hasn't changed anything.
Interestingly, it seems like I'm not able to change the permissions of
~/Documents/, while it is possible for other folders (see example below).
Does anyone have an idea to explain this behaviour, and how to solve it? I'll be much grateful for any hint.
Out of the blue, I tried something. I used the action Reveal in Finder of Alfred on a folder in
~/Documents/. It worked, and, since that, so does opening folders from a Spotlight search. It must have done something backstage, but I have no idea what. ¯_(ツ)_/¯
Edit 2022-07-24 See the answer from @junjie below for the real cause of the problem and a workaround.