血书：Time Machine 拷贝文件时出错的解决法
换了电脑之后继承了备份，但是还没备份过，结果备份不出来，除此之外还有图片文件夹整个没有还原回来，挖出了上个电脑的 SSD 拷贝了一份之后有用户权限问题之类的杂七杂八的问题，今天一次性解决了。舒服。
修复系统权限High Sierra 的磁盘工具里没有这项了，在苹果官网上找了一个笨办法：
- 访达 > 前往 > 个人
- 文件 > 显示简介
- If the Sharing & Permissions section at the bottom of the window isn't open, click the triangle in that section to open it.
- If the Lock button at the bottom of the window shows a closed lock , click the lock and enter an administrator name and password.
- Click the Action menu in the bottom corner of the window, then choose "Apply to enclosed items." Click OK to confirm the action. A progress bar appears at the top of the window.
- When the progress bar completes, open the Terminal app, which is in the Utilities folder of your Applications folder.
- Paste or type this command in Terminal, then press Return:
diskutil resetUserPermissions / `id -u`
After entering the diskutil command, if Terminal says that permissions reset on user home directory failed (error -69841), enter
chflags -R nouchg ~, then enter the diskutil command again.
- When the process completes, quit Terminal. Restart the computer, then test to see if the issue is fixed.
Time Machine 问题上一步之后备份依然没有恢复。苹果社区里有这么一个回答：
- Open Console
- Click your computer under devices. Typically says "NameMacbookPro"
- In the search bar type "backupd" without the quotes
- Run TM backup and let the error occur
- In Console, look for the an error that looks something like this:
Error: (-8062) SrcErr:NO Copying /Users/NAME/Library...
this is the corrupt file that caused my TM error.
- Locate the file in the location given in console and either delete or backup separately (drag and drop somewhere).
- Re-run TM and the it should complete the backup
- search for "backup" rather than "backupd". This may show a few more messages.
- after step 4, select the first console message of the start of that Backup. Then delete the search string so that you can see ALL messages from that point, and look again (starting at the line you selected) for that error message.