权限修复

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen
2025-01-09 16:08:22 +08:00
parent 12a50cb82f
commit 2506825d24
4 changed files with 0 additions and 14 deletions

View File

@@ -17,13 +17,9 @@ if [ -f .env ]; then
mkdir -p "$NODEBB_ROOT_PATH/config"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH"
chmod -R 644 "$NODEBB_ROOT_PATH"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/build"
chmod -R 644 "$NODEBB_ROOT_PATH/build"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/uploads"
chmod -R 644 "$NODEBB_ROOT_PATH/uploads"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/config"
chmod -R 644 "$NODEBB_ROOT_PATH/config"
echo "Check Finish."

View File

@@ -17,13 +17,9 @@ if [ -f .env ]; then
mkdir -p "$NODEBB_ROOT_PATH/config"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH"
chmod -R 644 "$NODEBB_ROOT_PATH"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/build"
chmod -R 644 "$NODEBB_ROOT_PATH/build"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/uploads"
chmod -R 644 "$NODEBB_ROOT_PATH/uploads"
chmod -R 1001:1001 "$NODEBB_ROOT_PATH/config"
chmod -R 644 "$NODEBB_ROOT_PATH/config"
echo "Check Finish."