From 06cfeb433a6d2681bdab10d7b345f7a159b3dc9f Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Mon, 19 Aug 2019 10:50:40 +0200 Subject: [PATCH] Fixed crontab permissions. --- start_or_update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start_or_update.sh b/start_or_update.sh index ea6762d..1e4549c 100755 --- a/start_or_update.sh +++ b/start_or_update.sh @@ -4,6 +4,10 @@ openssl enc -aes-256-cbc -d -in ~/secrets.tar.gz.enc | tar -zxv --strip 2 secret secrets/docker-mail-stack/users secrets/docker-mail-stack/15-lda.conf secrets/docker-mail-stack/feed2imaprc sudo chown root. fetchmailrc users 15-lda.conf feed2imaprc sudo chmod a-r feed2imaprc + +sudo chown root:root crontab +sudo chmod 644 crontab + # --force-recreate is used to recreate container when crontab file has changed unset VERSION_DOVECOT VERSION_FETCHMAIL VERSION_FEED2IMAP VERSION_CRON VERSION_DOVECOT=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-dovecot.git| head -1 | cut -f 1|cut -c -10) \