From b14a58c9b863501c4dc87c5f343bff1c05a5ec81 Mon Sep 17 00:00:00 2001 From: Russell Cattelan Date: Wed, 19 Aug 2020 22:25:03 -0500 Subject: [PATCH] cmd/mount2: fix the swapped UID / GID values --- cmd/mount2/fs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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