浏览代码

Set mailpile permissions after upgrade

Bob Mottram 8 年前
父节点
当前提交
46140a6e74
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone-app-mailpile

+ 2
- 0
src/freedombone-app-mailpile 查看文件

@@ -85,6 +85,8 @@ function upgrade_mailpile {
85 85
 
86 86
     function_check set_repo_commit
87 87
     set_repo_commit /var/www/$MAILPILE_DOMAIN_NAME/mail "mailpile commit" "$MAILPILE_COMMIT" $MAILPILE_REPO
88
+
89
+    chown -R mailpile:mailpile /var/www/$MAILPILE_DOMAIN_NAME/mail
88 90
 }
89 91
 
90 92
 function backup_local_mailpile {