From: Frank Brehm Date: Tue, 27 Mar 2018 16:10:50 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 0.1.1~83 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=762b384c4d55a03e02b76b9db3235446a61c665a;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- diff --git a/bin/postinst b/bin/postinst index 9da6316..bbca9d5 100644 --- a/bin/postinst +++ b/bin/postinst @@ -49,7 +49,9 @@ for stem in ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key ; do mv -v "${TMP_FILE}" "/etc/ssh/${fullname}" if [[ "${stem}" == "${fullname}" ]] ; then chown -v root:ssh_keys "/etc/ssh/${fullname}" - chmod -v 0750 "/etc/ssh/${fullname}" + chmod -v 0640 "/etc/ssh/${fullname}" + else + chmod -v 0644 "/etc/ssh/${fullname}" fi fi rm -f "${TMP_FILE}"