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 <ynezz@true.cz>
#!/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 "$@"