Browse Source

bug fix for user data permission

master
filesite 7 months ago
parent
commit
4bd3e603d1
  1. 2
      plugins/Common.php

2
plugins/Common.php

@ -33,7 +33,7 @@ Class Common {
} }
try { try {
mkdir("{$userDir}/data/", 0700, true); //分享视频目录 mkdir("{$userDir}/data/", 0755, true); //分享视频目录
mkdir("{$userDir}/tags/", 0700, true); //分类目录 mkdir("{$userDir}/tags/", 0700, true); //分类目录
copy("{$rootDir}README.md", "{$userDir}/README.md"); copy("{$rootDir}README.md", "{$userDir}/README.md");
copy("{$rootDir}README_title.txt", "{$userDir}/README_title.txt"); copy("{$rootDir}README_title.txt", "{$userDir}/README_title.txt");

Loading…
Cancel
Save