Polish changelogs (#21805)

This commit is contained in:
Michael Eischer authored and GitHub committed 2026-05-29 21:06:29 +02:00
1 parent f000da3b35
commit 2802bec8b9
35 files changed
+173 -172

No files matched your search

+6 -5
View File
@@ -1,10 +1,11 @@
Bugfix: Correctly restore ACL inheritance state on Windows
Since the introduction of Security Descriptor backups in restic 0.17.0, the inheritance property of Access Control Entries (ACEs) was not restored correctly. This resulted in all restored permissions being marked as explicit (IsInherited: False), even if they were originally inherited from a parent folder.
Since security descriptor backups were added in restic 0.17.0, Access Control Entry
inheritance was not restored correctly on Windows: restored permissions were always marked
as explicit (not inherited) even when they were inherited from a parent folder.
The issue was caused by sending conflicting inheritance flags (PROTECTED_... and UNPROTECTED_...) to the Windows API during the restore process. The API would default to the more restrictive PROTECTED state, effectively disabling inheritance.
This has been fixed by ensuring that only the correct, non-conflicting inheritance flag is used when applying the security descriptor, preserving the original permission structure from the backup.
Now the inheritance flags are correctly applied when restoring the security
descriptor, so the original permission structure is preserved.
https://github.com/restic/restic/issues/5427
https://github.com/restic/restic/pull/5465
https://github.com/restic/restic/issues/5427