This commit is contained in:
Chris Lu 2019-04-24 12:31:14 -07:00
parent c5a931b22c
commit ea4592161c

View file

@ -88,7 +88,7 @@ func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error {
return err return err
} }
glog.V(2).Infof("dir %s: %v perm: %v", dir.Path, attributes, os.FileMode(attributes.FileMode)) glog.V(2).Infof("dir %s: %v perm: %v", dir.Path, dir.attributes, os.FileMode(attributes.FileMode))
attr.Mode = os.FileMode(dir.attributes.FileMode) | os.ModeDir attr.Mode = os.FileMode(dir.attributes.FileMode) | os.ModeDir