fuse: show correct uid and gid

This commit is contained in:
Alexander Neumann
2015-07-21 22:11:30 +02:00
parent 05e2afba0b
commit bdcb2175c5
3 changed files with 28 additions and 2 deletions

View File

@@ -26,5 +26,10 @@ func (l *link) Readlink(ctx context.Context, req *fuse.ReadlinkRequest) (string,
func (l *link) Attr(ctx context.Context, a *fuse.Attr) error {
a.Inode = l.node.Inode
a.Mode = l.node.Mode
a.Uid = l.node.UID
a.Gid = l.node.GID
a.Atime = l.node.AccessTime
a.Ctime = l.node.ChangeTime
a.Mtime = l.node.ModTime
return nil
}