Fixing broken owner bits

This commit is contained in:
Alex Yatskov 2015-05-26 16:38:17 +09:00
parent 9c56cd3ecb
commit 1c41f81238

View File

@ -134,7 +134,7 @@ func (this *versionedNode) attr(attr *fuse.Attr) {
attr.Atime, attr.Mtime, attr.Ctime = this.times()
attr.Mode = this.info.Mode()
attr.Nlink = uint32(stat.Nlink)
attr.Uid, attr.Gid = this.owner()
attr.Gid, attr.Uid = this.owner()
attr.Rdev = uint32(stat.Rdev)
}