I updated to macOS Catalina which requires the user through pop-ups to allow any app trying to access the file system for the first time.
No such pop-up is appearing for Emacs. Running the script shared here,
https://gist.github.com/dive/f64c645a9086afce8e5dd2590071dbf9
does not seem to change anything. That is, Emacs and any shell running in it cannot access any file on the file system.
How can I restore the access?
My Emacs version is *GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511))
UPDATE
Granting the Emacs app Full Disk Access in "General Settings -> Security & Privacy -> Privacy" does not solve the problem.
M-x ns-open-file-using-panel
and opened~/Download
opened a file. And then it worked. So now it works fine for me at least. But I had to re-do it for~/Documents
etc.