mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
6a97833337
- Fix a logic error that instead of reporting the *first* metadata-setting error that appears, we were instead reporting the *last* error (and only if the lchown call failed!). - Don't show any errors when setting metadata for files in non-root mode (things like timestamps, attributes). Previously, only lchown errors were skipped. But other kinds of attribute errors make sense to skip as well. The code path happened to work correctly before because of the above logic error. But once that was fixed, this change needed to happen too. |
||
---|---|---|
.. | ||
.gitignore | ||
pull-4958 |