瀏覽代碼

dovecot permissions

Bob Mottram 8 年之前
父節點
當前提交
8d8ba4a788
共有 2 個檔案被更改,包括 1 行新增4 行删除
  1. 1
    1
      src/freedombone-app-mailpile
  2. 0
    3
      src/freedombone-utils-setup

+ 1
- 1
src/freedombone-app-mailpile 查看文件

@@ -285,7 +285,7 @@ function install_mailpile {
285 285
     echo '' >> /etc/systemd/system/mailpile.service
286 286
     echo '[Service]' >> /etc/systemd/system/mailpile.service
287 287
     echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
288
-    echo 'Group=debian-tor' >> /etc/systemd/system/mailpile.service
288
+    echo 'Group=mailpile' >> /etc/systemd/system/mailpile.service
289 289
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
290 290
     echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
291 291
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service

+ 0
- 3
src/freedombone-utils-setup 查看文件

@@ -493,9 +493,6 @@ function lockdown_permissions {
493 493
     if [ -f /usr/sbin/exim4 ]; then
494 494
         chmod u+s /usr/sbin/exim4
495 495
     fi
496
-    if [ -f /usr/sbin/dovecot ]; then
497
-        chmod u+s /usr/sbin/dovecot
498
-    fi
499 496
 
500 497
     set_sticky_bits
501 498