This commit is contained in:
Vaica committed 2026-06-22 12:14:53 +08:00
1 parent fd200e018d
commit a1dd087bcc
4 files changed
+41 -10

No files matched your search

+3
View File
@@ -9,6 +9,9 @@ mkdir -p /app/recycle/posts /app/recycle/meta /app/logs /app/backups
chown -R nextjs:nodejs /app/recycle /app/logs /app/backups
# 修复博客目录权限(让 nextjs 用户可写)
if [ -d "/blog" ]; then
chown nextjs:nodejs /blog
fi
if [ -d "/blog/content" ]; then
chown -R nextjs:nodejs /blog/content
fi