1214
This commit is contained in:
1 parent
fd200e018d
commit
a1dd087bcc
4 files changed
+41
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user