I cannot list files in the Desktop
folder using the terminal:
Desktop % ls -l
total 0
ls: .: Operation not permitted
I have no problems accessing the Desktop
folder or its subfolders with the Finder app.
OS: Sonoma 14.0 (23A344)
Terminal: iTerm2
I have checked the permissions for the Destkop
folder and some of its subfolders using Finder's "Get Info" panel (Cmd+I) and my user has R+W permissions (as expected).