From 13baa6f7681fd4468641ba8c31df095fd1466c30 Mon Sep 17 00:00:00 2001 From: EatPrilosec Date: Fri, 9 Aug 2024 00:11:55 -0400 Subject: [PATCH] Update cron_start.sh --- files/cron_start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/cron_start.sh b/files/cron_start.sh index 7161175..459d37a 100644 --- a/files/cron_start.sh +++ b/files/cron_start.sh @@ -17,6 +17,7 @@ GROUP_ID=${LOCAL_GROUP_ID:-250} usermod -u $USER_ID user groupmod -g $GROUP_ID userg usermod -a -G sudo user +chmod -R user:user /opt env >/opt/env sudo -E --group=userg --user=user $CronCommand >/opt/cron.log 2>/opt/cron.log & echo "$CronSchedule sudo -E --group=userg --user=user $CronCommand >/opt/cron.log 2>/opt/cron.log" >/opt/cron