From 34a897191ac2812e256e448a2b3b7c94836a15c7 Mon Sep 17 00:00:00 2001 From: gferraro Date: Mon, 31 May 2021 17:28:47 +1200 Subject: [PATCH] fix for cron job permissions --- _release/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_release/build.sh b/_release/build.sh index 156b266b..0b372abd 100755 --- a/_release/build.sh +++ b/_release/build.sh @@ -45,7 +45,7 @@ find -name '*.ts' -print0 | xargs -0 rm # cron doesn't like it when cron.d files are writeable by anyone other than the # owner. echo "Fixing perms..." -chmod 644 _release/{cacophony-api-prune-objects,cacophony-api-remove-dups} +chmod 644 _release/{cacophony-api-prune-objects,cacophony-api-remove-dups,cacophony-api-report-stopped-devices,cacophony-api-report-errors} echo "Setting versions..." perl -pi -e "s/^version:.+/version: \"${version}\"/" _release/nfpm.yaml