Somehow I've managed to accumulate a bunch of files in Time Machine that don't seem to be capable of being copied out of Time Machine, citing "Unknown Error -22", like-so:
sudo cp /path/to/broken_file ~/Desktop/test cp: broken_file: Unknown error: -22
Thing is, this only affects a tiny number of files (maybe five or six out of hundreds of thousands), and while it doesn't seem to be affecting Time Machine, it affects any other commands such as trying to rsync a Time Machine backup (which is useful since they're snapshots).
I can't find anything to explain why the files are doing this though; if I locate the original file in my user folder then it copies just fine, only the Time Machine version is affected. The files suffering the issue also don't seem related in any obvious way.
Does anyone have any idea what an error -22 is?