From c65d90ad385dfad2974b2df99c24895eeb14b1ed Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 11 Feb 2020 15:25:36 +0100 Subject: [PATCH] Setup permissions on the crontab --- fabfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fabfile.py b/fabfile.py index 4f9994e..1e49f0a 100644 --- a/fabfile.py +++ b/fabfile.py @@ -33,6 +33,7 @@ def dailycron(c): # See https://github.com/fabric/fabric/issues/1750 c.put('./cron/voicegardens', remote='./') c.sudo('mv voicegardens /etc/cron.daily') + c.sudo('chown root:root /etc/cron.daily/voicegardens') print('New cron in place <3') @task