From bd08231629bf6a6c08c49976003d4d557ba78b34 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Mon, 5 Dec 2016 12:29:50 -0800 Subject: [PATCH] Make sure that files aren't world-writable after enabling cron --- extras/installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/installer.sh b/extras/installer.sh index 1683c15..af35988 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -249,6 +249,7 @@ configure_cron() { echo echo -n "Changing ownership of '${FULL_PATH}'... " sudo chown -R root:root "${FULL_PATH}" || abort "Unable to change ownership, cannot continue" + sudo chmod -R o-w "${FULL_PATH}" || abort "Unable to change permissions, cannot continue" echo "done" fi