the key_import directory is root only
diff --git a/xos/configurations/frontend/Makefile b/xos/configurations/frontend/Makefile
index 2bab097..4cb43b3 100644
--- a/xos/configurations/frontend/Makefile
+++ b/xos/configurations/frontend/Makefile
@@ -71,6 +71,6 @@
 exampleservice:
 	mkdir -p key_import
 	# fake keys are fine
-	echo somekey > key_import/exampleservice_rsa
-	echo somekey > key_import/exampleservice_rsa.pub
+	sudo bash -c "echo somekey > key_import/exampleservice_rsa"
+	sudo bash -c "echo somekey > key_import/exampleservice_rsa.pub"
 	sudo docker-compose -p $(DOCKER_PROJECT) -f $(DOCKER_COMPOSE_YML) run xos_ui python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/onboard/exampleservice/exampleservice-onboard.yaml