Fix missing Owner coercion for already-open files (#117)
This commit is contained in:
parent
d2be22a07f
commit
da1bd74246
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user