浏览代码

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
     echo '' >> /etc/systemd/system/mailpile.service
285
     echo '' >> /etc/systemd/system/mailpile.service
286
     echo '[Service]' >> /etc/systemd/system/mailpile.service
286
     echo '[Service]' >> /etc/systemd/system/mailpile.service
287
     echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
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
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
289
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/mail" >> /etc/systemd/system/mailpile.service
290
     echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
290
     echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/mail/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
291
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service
291
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service

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

493
     if [ -f /usr/sbin/exim4 ]; then
493
     if [ -f /usr/sbin/exim4 ]; then
494
         chmod u+s /usr/sbin/exim4
494
         chmod u+s /usr/sbin/exim4
495
     fi
495
     fi
496
-    if [ -f /usr/sbin/dovecot ]; then
497
-        chmod u+s /usr/sbin/dovecot
498
-    fi
499
 
496
 
500
     set_sticky_bits
497
     set_sticky_bits
501
 
498