When restoring files from a backup, restic currently sets file ownership using raw UID and GID values stored…
When restoring files from a backup, restic currently sets file ownership using raw UID and GID values stored…: a task in LegoFlow-SWE (Harbor dataset). Current behavior NodeRestoreMetadata and the underlying lchown function always call os.Lchown with the numeric UID/GID from the snapshot. If the…
The task
**Current behavior** `NodeRestoreMetadata` and the underlying `lchown` function always call `os.Lchown` with the numeric UID/GID from the snapshot. If the original system had user `nginx` with UID 997, and the new system has `nginx` with UID 995, the restored file ends up owned by UID 997, which may be a completely…
Part of Lego-X/LegoFlow-SWE.