From: Julien Moutinho Date: Thu, 26 Sep 2013 22:40:59 +0000 (+0200) Subject: Correction : roundcube-chpasswd doit avoir accès à /etc/dovecot/$domain/ . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=b51fc39919cb872dcead7c6f8ef61f279a03c85d;ds=sidebyside Correction : roundcube-chpasswd doit avoir accès à /etc/dovecot/$domain/ . --- diff --git a/etc/sv/dovecot/remote.sh b/etc/sv/dovecot/remote.sh index fe93d3c..36d975a 100644 --- a/etc/sv/dovecot/remote.sh +++ b/etc/sv/dovecot/remote.sh @@ -6,8 +6,9 @@ for domain in \ do "$tool"/remote/site-x509-key-decrypt "$protocol"."$domain" | "$tool"/remote/ssh root@"$local_fqdn" ' \ + sudo install -d -m 770 -o root -g php_roundcube \ + /etc/dovecot/'"$domain"'/ sudo install -d -m 770 -o root -g root \ - /etc/dovecot/'"$domain"'/ \ /etc/dovecot/'"$domain"'/'"$protocol"' \ /etc/dovecot/'"$domain"'/'"$protocol"'/x509 ; \ sudo install -m 644 -o root -g root /dev/stdin \