How to restore select files from Time Machine and fix permissions issues
- Full Disk Access
You're stuck at the following:
sudo ls /Volumes/BrainDump-Chris/Backups.backupdb/MyMac/Latest/Macintosh\ HD/Users/me
Operation not permitted
You need to give iTerm2 (or whatever terminal emulator you use) Full Disk Access permission.
- Fixing File Permissions
Ok, now you've copied over some files, but you can't modify them. This is because extended permissions with explicit denies were also copied over.
You'll need to remove those extended permissions as described at backdrift. You might also want to remove extended attributes as described in this answer
sudo chmod -NR <your restored files and folders>
sudo xattr -rc <your restored files and folders>