From 4bd3e603d10ac307f5ece6e06f80039a25fcc727 Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 29 Apr 2024 04:56:02 +0000 Subject: [PATCH] bug fix for user data permission --- plugins/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Common.php b/plugins/Common.php index 01e2d70..ca7ba76 100644 --- a/plugins/Common.php +++ b/plugins/Common.php @@ -33,7 +33,7 @@ Class Common { } try { - mkdir("{$userDir}/data/", 0700, true); //分享视频目录 + mkdir("{$userDir}/data/", 0755, true); //分享视频目录 mkdir("{$userDir}/tags/", 0700, true); //分类目录 copy("{$rootDir}README.md", "{$userDir}/README.md"); copy("{$rootDir}README_title.txt", "{$userDir}/README_title.txt");