Commit 58d250b5 authored by Rémi Duraffort's avatar Rémi Duraffort

lava-server: check file permissions before starting gunicorn or lava-logs

If the files in either /etc/lava-server/dispatcher-config/ or
/var/lib/lava-server/default/media/ do not belong to lavaserver:lavaserver,
this can lead to crashes or strange behavior.

Better to bailout early in that case.

Closes #14Signed-off-by: Rémi Duraffort's avatarRémi Duraffort <remi.duraffort@linaro.org>
parent 563fec3a
Pipeline #4695 passed with stages
in 8 minutes and 49 seconds