diff options
Diffstat (limited to 'internal/fusefrontend/node.go')
-rw-r--r-- | internal/fusefrontend/node.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/fusefrontend/node.go b/internal/fusefrontend/node.go index 99d337f..182cda5 100644 --- a/internal/fusefrontend/node.go +++ b/internal/fusefrontend/node.go @@ -41,6 +41,10 @@ func (n *Node) Lookup(ctx context.Context, name string, out *fuse.EntryOut) (ch n.translateSize(dirfd, cName, &out.Attr) rn := n.rootNode() + if rn.args.ForceOwner != nil { + out.Owner = *rn.args.ForceOwner + } + if rn.args.SharedStorage { // If we already have a child node that matches what we found on disk* // (as reflected in `ch`), return it here. |