kopia: Permissions errors on macos
When attempting to do a backup of my home folder I see this:
[31m13:26:07.188 [kopia/server] upload error: unable to process directory "Library": unable to process directory "Containers": unable to process directory "com.apple.mail": unable to process directory "Data": unable to stat directory entry "DataVaults": lstat /Users/USERNAME/Library/Containers/com.apple.mail/Data/DataVaults: operation not permitted[0m
This causes the backup to fail hard. Occaisionally it’s a different file under Application Support but the result is the same as the backup fails.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (5 by maintainers)
This probably requires enabling full-disk access for the Kopia app, probably for the server process.
For now, the simplest approach is to manually enable it via “System Preferences” => “Security & Privacy” => “Privacy” tab => “Full Disk Access” (on the left list) => Add via the “
+
” sign and then select the kopia binary. I’m guessing the server binary, have not tried it yet.