mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 07:07:25 +08:00
Fix log message with correct mode
This commit is contained in:
@@ -102,7 +102,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
mountMode = os.ModeDir | os.FileMode(0777)&^umask
|
mountMode = os.ModeDir | os.FileMode(0777)&^umask
|
||||||
uid, gid = util.GetFileUidGid(fileInfo)
|
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 {
|
} else {
|
||||||
fmt.Printf("can not stat %s\n", dir)
|
fmt.Printf("can not stat %s\n", dir)
|
||||||
return false
|
return false
|
||||||
|
Reference in New Issue
Block a user