cmd/mount2: fix the swapped UID / GID values
This commit is contained in:
parent
6c140705e3
commit
99ff594773
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue