From 3b5344e84444063c50e9c0740d474864640c9b96 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Mon, 1 Jul 2024 09:04:11 +1000 Subject: [PATCH] chore: adds fix-key-perms to set sshkey perms correctly for local-dev --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 2535de9a46..a3b3051c61 100644 --- a/Makefile +++ b/Makefile @@ -347,6 +347,13 @@ down: kill: docker ps --format "{{.Names}}" | grep lagoon | xargs -t -r -n1 docker rm -f -v +.PHONY: fix-key-perms +fix-key-perms: + chmod 600 ./local-dev/sshkey-maintainer-ecdsa + chmod 600 ./local-dev/sshkey-platform-owner-ed25519 + chmod 600 ./local-dev/sshkey-ci-customer-user-rsa + ls -al ./local-dev/sshkey-* + .PHONY: local-dev-yarn local-dev-yarn: $(MAKE) local-dev-yarn-stop