mirror of
https://github.com/restic/restic.git
synced 2025-03-13 13:50:53 +00:00

In #2584 this was changed to use the uid/gid of the root node. This would be okay for the top-level directory of a snapshot, however, this change also applied to normal directories within a snapshot. This change reverts the problematic part and adds a test that directory attributes are represented correctly.