diff --git a/moxio/umask.go b/moxio/umask.go index 73fc493..9fd7edb 100644 --- a/moxio/umask.go +++ b/moxio/umask.go @@ -12,7 +12,7 @@ func CheckUmask() error { old := syscall.Umask(007) syscall.Umask(old) if old&7 != 7 { - return fmt.Errorf(`umask must have "7" for world/other, e.g. 007, not current %o`, old) + return fmt.Errorf(`umask must have 7 for world/other, e.g. 007, not current %03o`, old) } return nil }