From: Julien Moutinho Date: Tue, 19 Mar 2013 11:01:44 +0000 (+0100) Subject: Correction : vm_hosted : rule_postfix_configure : permissions . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=7de0825b8ffd040fe47c93dc37009830c39b2bd6 Correction : vm_hosted : rule_postfix_configure : permissions . --- diff --git a/vm_hosted b/vm_hosted index fae784e..4a4749d 100755 --- a/vm_hosted +++ b/vm_hosted @@ -987,15 +987,8 @@ rule_postfix_configure () { sudo install -m 640 -o root -g root /dev/stdin /etc/postfix/.gitignore <<-EOF *.db EOF - sudo install -d -m 770 -o root -g root \ - /etc/postfix/$vm_domainname/ \ - /etc/postfix/$vm_domainname/smtp \ - /etc/postfix/$vm_domainname/smtp/x509 \ - /etc/postfix/$vm_domainname/smtp/x509/ca \ - /etc/postfix/$vm_domainname/smtpd \ - /etc/postfix/$vm_domainname/smtpd/x509 \ - /etc/postfix/$vm_domainname/smtpd/x509/ca - sudo install -d -m 770 -o root -g root \ + sudo install -d -m 771 -o root -g root \ + /etc/postfix/ \ /etc/postfix/$vm_domainname/ \ /etc/postfix/$vm_domainname/smtp \ /etc/postfix/$vm_domainname/smtp/x509 \