aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r--internal/fusefrontend/file.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go
index ca1798b..5b0a254 100644
--- a/internal/fusefrontend/file.go
+++ b/internal/fusefrontend/file.go
@@ -427,6 +427,9 @@ func (f *file) GetAttr(a *fuse.Attr) fuse.Status {
}
a.FromStat(&st)
a.Size = f.contentEnc.CipherSizeToPlainSize(a.Size)
+ if f.fs.args.ForceOwner != nil {
+ a.Owner = *f.fs.args.ForceOwner
+ }
return fuse.OK
}