X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fdovecot%2Fremote.sh;h=36d975aa5087805a725eb21be49ff81e257692c2;hp=fe93d3c200322f1d01dd27d950e15e40e156d039;hb=b51fc39919cb872dcead7c6f8ef61f279a03c85d;hpb=a9f810d18a88334e3f87cb0324d8921a26ec90ec 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 \