Merge pull request #5449 from provokateurin/restore-ownership-by-name

feat(internal/fs/node): Restore ownership by name
This commit is contained in:
Michael Eischer authored and GitHub committed 2025-11-16 16:50:36 +01:00
commit 3b854d9c04
9 files changed
+222 -88

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Enhancement: Support restoring ownership by name on UNIX systems
Restic restore used to restore file ownership on UNIX systems by UID and GID.
It now allows restoring the file ownership by user name and group name with `--ownership-by-name`.
This allows restoring snapshots on a system where the UID/GID are not the same as they were on the system where the snapshot was created.
However it does not include support for POSIX ACLs, which are still restored by their numeric value.
https://github.com/restic/restic/issues/3572
https://github.com/restic/restic/pull/5449