mirror of
https://github.com/restic/restic.git
synced 2025-08-27 09:50:24 +00:00
fuse: show correct uid and gid
This commit is contained in:
@@ -26,5 +26,10 @@ func (l *link) Readlink(ctx context.Context, req *fuse.ReadlinkRequest) (string,
|
||||
func (l *link) Attr(ctx context.Context, a *fuse.Attr) error {
|
||||
a.Inode = l.node.Inode
|
||||
a.Mode = l.node.Mode
|
||||
a.Uid = l.node.UID
|
||||
a.Gid = l.node.GID
|
||||
a.Atime = l.node.AccessTime
|
||||
a.Ctime = l.node.ChangeTime
|
||||
a.Mtime = l.node.ModTime
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user