fs: fallback to low privilege security descriptors on access denied

This commit is contained in:
Michael Eischer
2024-11-01 18:56:11 +01:00
parent d46525a51b
commit 7bfe3d99ae
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Bugfix: fix metadata errors during backup of removable disks on Windows
Since restic 0.17.0, backups of removable disks on Windows could report
errors with retrieving metadata like shown below.
```
error: incomplete metadata for d:\filename: get named security info failed with: Access is denied.
```
This has now been fixed.
https://github.com/restic/restic/issues/5003
https://github.com/restic/restic/pull/5123
https://forum.restic.net/t/backing-up-a-folder-from-a-veracrypt-volume-brings-up-errors-since-restic-v17-0/8444