From 0fa91246dad5bf0cf7d7e85768cae821a32132e4 Mon Sep 17 00:00:00 2001 From: dwrz Date: Thu, 2 Feb 2023 15:39:39 +0000 Subject: [PATCH] Refactor setup script --- setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup b/setup index fb6446d..2259180 100755 --- a/setup +++ b/setup @@ -136,6 +136,8 @@ write_settings() { } link_files() { + chmod 400 "${PWD}/config/msmtprc" + ln -s "${PWD}/config/motion.conf" "/etc/motion/motion.conf" ln -s "${PWD}/config/msmtprc" "${MOTION_DIR}/.msmtprc" ln -s "${PWD}/config/muttrc" "${MOTION_DIR}/.muttrc"