Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Fix log message with correct mode

Daniel Santos0c64d60fdb29
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 8119edd011..5df0052028 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