Hello

The problem is unix permissions on /etc/lava-server/dispatcher-config/device-types/
This directory need to be chown by lavaserver:lavaserver

Regards

Le mar. 7 mai 2019 à 20:57, Kevin Hilman <khilman@baylibre.com> a écrit :
Hello,

I have a remote worker that needs to add a new device-type on the
master.

The remote worker has an auth token with admin/staff/superuser
privileges, and lavacli configured with that token, but when I attempt
to set the new template, I get permission denied:

# lavacli device-types template set da850-lcdk /tmp/new-device-type.jinja2
Unable to call 'device-types.template': <Fault 400: 'Unable to write device-type configuration: Permission denied'>

What permissions am I missing?

Kevin