Issue
Files not created by the local user may fail when restored from the cache as tar preserves file permissions. Permission errors can also occur when the current user does not have permissions to read files when creating the cache. This is likely just a Linux and/or macOS issue (all the reports are Linux)
Reports
Possible solutions
- Run
tar with sudo
- What are the downsides of this approach?