From b51fc39919cb872dcead7c6f8ef61f279a03c85d Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Fri, 27 Sep 2013 00:40:59 +0200 Subject: [PATCH] =?utf8?q?Correction=20:=20roundcube-chpasswd=20doit=20avo?= =?utf8?q?ir=20acc=C3=A8s=20=C3=A0=20/etc/dovecot/$domain/=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/sv/dovecot/remote.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.20.1