From 630cf1e33e163b3ea6ec9a29498a5c0102e1c19b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 24 Apr 2019 12:31:52 -0700 Subject: [PATCH] fix --- weed/filesys/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index db36f379f..767212103 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -88,7 +88,7 @@ func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error { return err } - glog.V(2).Infof("dir %s: %v perm: %v", dir.Path, dir.attributes, os.FileMode(attributes.FileMode)) + glog.V(2).Infof("dir %s: %v perm: %v", dir.Path, dir.attributes, os.FileMode(dir.attributes.FileMode)) attr.Mode = os.FileMode(dir.attributes.FileMode) | os.ModeDir