From 0c64d60fdb29d48e2ab2805a33904191c78349b5 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Tue, 26 Jan 2021 21:45:52 -0700 Subject: [PATCH] Fix log message with correct mode --- weed/command/mount_std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 8119edd01..5df005202 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -102,7 +102,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { if err == nil { mountMode = os.ModeDir | os.FileMode(0777)&^umask uid, gid = util.GetFileUidGid(fileInfo) - fmt.Printf("mount point owner uid=%d gid=%d mode=%s\n", uid, gid, fileInfo.Mode()) + fmt.Printf("mount point owner uid=%d gid=%d mode=%s\n", uid, gid, mountMode) } else { fmt.Printf("can not stat %s\n", dir) return false