Permissions on .Trash folder

bob@machine[~]$ sudo ls -lah /Users/bob/.Trash/
ls: cannot open directory '/Users/bob/.Trash/': Operation not permitted
bob@machine[~]$ sudo ls -lah /Users/bob/ | grep Trash
drwx------    2 bob  staff   64 Sep 11 20:01 .Trash
bob@machine[~]$


What am I not understanding about permissions that would result in the behavior shown above?


I'm running the latest:

bob@machine[~]$ uname -a
Darwin machine.local 19.0.0 Darwin Kernel Version 19.0.0: Sun Aug 18 23:37:31 PDT 2019; root:xnu-6153.0.166~17/RELEASE_X86_64 x86_64 i386 Macmini8,1 Darwin
bob@machine[~]$

Replies

For a permission error, you would get the message "Access denied".


"Operation not permitted" means something else: The system policies don't allow the running application to execute a specific function. In your example, the application "Terminal" might not have your privacy approval yet to access the entire file system.


You can change this via "System Preferences > Security & Privacy > Privacy > Full Disk Access".