From 133fe3901a53938087145964b43eb82fe85d4302 Mon Sep 17 00:00:00 2001 From: oddlama Date: Tue, 20 Dec 2022 12:51:25 +0100 Subject: [PATCH] fix: use 644 permissions on /etc/timezone, apparently some builds depend on it. Fixes #66 --- scripts/main.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/main.sh b/scripts/main.sh index d0a131e..599eaab 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -52,6 +52,8 @@ function configure_base_system() { einfo "Selecting timezone" echo "$TIMEZONE" > /etc/timezone \ || die "Could not write /etc/timezone" + chmod 644 /etc/timezone \ + || die "Could not set correct permissions for /etc/timezone" try emerge -v --config sys-libs/timezone-data # Set keymap