diff --git a/library/think/File.php b/library/think/File.php index 16f9bfc9..8cd8f292 100644 --- a/library/think/File.php +++ b/library/think/File.php @@ -79,7 +79,7 @@ class File extends SplFileObject return true; } - if (mkdir($path, 0644, true)) { + if (mkdir($path, 0666, true)) { return true; } else { $this->error = "目录 {$path} 创建失败!";