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 <>
parent 563fec3a
Pipeline #5382 failed with stages
in 51 seconds