mirror of
https://github.com/restic/restic.git
synced 2025-08-23 17:55:17 +00:00
fuse: Properly set uid/gid for directories
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.
This commit is contained in:
8
changelog/unreleased/issue-2563
Normal file
8
changelog/unreleased/issue-2563
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Use correct directory owner in fuse mount
|
||||
|
||||
Restic 0.10.0 changed the fuse mount to always report the current user
|
||||
as the owner of directories within the fuse mount, which is incorrect.
|
||||
We have changed this back to use the correct owner of a directory.
|
||||
|
||||
https://github.com/restic/restic/issues/2563
|
||||
https://github.com/restic/restic/pull/3141
|
Reference in New Issue
Block a user