mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
cmd/mount2: fix the swapped UID / GID values
This commit is contained in:
parent
60cc2cba1f
commit
b14a58c9b8
@ -67,8 +67,8 @@ func setAttr(node vfs.Node, attr *fuse.Attr) {
|
|||||||
modTime := node.ModTime()
|
modTime := node.ModTime()
|
||||||
// set attributes
|
// set attributes
|
||||||
vfs := node.VFS()
|
vfs := node.VFS()
|
||||||
attr.Owner.Gid = vfs.Opt.UID
|
attr.Owner.Gid = vfs.Opt.GID
|
||||||
attr.Owner.Uid = vfs.Opt.GID
|
attr.Owner.Uid = vfs.Opt.UID
|
||||||
attr.Mode = getMode(node)
|
attr.Mode = getMode(node)
|
||||||
attr.Size = Size
|
attr.Size = Size
|
||||||
attr.Nlink = 1
|
attr.Nlink = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user