diff --git a/cmd/mount2/fs.go b/cmd/mount2/fs.go index 00e97e8a3..0fdd0c811 100644 --- a/cmd/mount2/fs.go +++ b/cmd/mount2/fs.go @@ -67,8 +67,8 @@ func setAttr(node vfs.Node, attr *fuse.Attr) { modTime := node.ModTime() // set attributes vfs := node.VFS() - attr.Owner.Gid = vfs.Opt.UID - attr.Owner.Uid = vfs.Opt.GID + attr.Owner.Gid = vfs.Opt.GID + attr.Owner.Uid = vfs.Opt.UID attr.Mode = getMode(node) attr.Size = Size attr.Nlink = 1