1 |
diff -Nur smeserver-dovecot-1.4.0/root/var/service/dovecot/control/1 smeserver-dovecot-1.4.0-imapd_pem_perm/root/var/service/dovecot/control/1 |
2 |
--- smeserver-dovecot-1.4.0/root/var/service/dovecot/control/1 2013-02-26 18:57:10.000000000 +0100 |
3 |
+++ smeserver-dovecot-1.4.0-imapd_pem_perm/root/var/service/dovecot/control/1 2013-05-18 11:04:42.736841812 +0200 |
4 |
@@ -33,8 +33,8 @@ |
5 |
# Now copy system pem file into jail used by ldap |
6 |
copy("/home/e-smith/ssl.pem/$s.$d.pem", "$pem.$$") |
7 |
or die "failed to copy SSL PEM: $!"; |
8 |
-chmod 0400, "$pem.$$"; |
9 |
-esmith::util::chownFile("root", "root", "$pem.$$"); |
10 |
+chmod 0440, "$pem.$$"; |
11 |
+esmith::util::chownFile("root", "stunnel", "$pem.$$"); |
12 |
rename("$pem.$$", "$pem") |
13 |
or die "failed to rename $pem.$$ to $pem: $!"; |
14 |
|