From 16616668ef7431488fcedf7e15e79cd7dabfeb73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Fri, 5 Mar 2021 09:14:55 +0100 Subject: [PATCH] buildmaster: fix permissions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise buildbot wouldn't be able to access config.ini or certs and thus fail to start: 2021-03-05 08:08:18+0000 [-] Loading configuration from '/phase1/master.cfg' 2021-03-05 08:08:18+0000 [-] error while parsing config file: ... configparser.NoSectionError: No section: 'general' Signed-off-by: Petr Å tetiar --- docker/buildmaster/files/entry.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/buildmaster/files/entry.sh b/docker/buildmaster/files/entry.sh index 82d8b15..437ad41 100644 --- a/docker/buildmaster/files/entry.sh +++ b/docker/buildmaster/files/entry.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -chown buildbot:buildbot /master +chown --recursive buildbot:buildbot /master /config /certs +chmod 0700 /master /config /certs /usr/sbin/gosu buildbot /start.sh "$@" -- 2.30.2