From 5dae663343195250023b44fc41979bb8c791657a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 12 Oct 2019 21:42:08 +0200 Subject: [PATCH] ++ umask --- lektor/content/images/contents.lr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lektor/content/images/contents.lr b/lektor/content/images/contents.lr index 45951cc..36de226 100644 --- a/lektor/content/images/contents.lr +++ b/lektor/content/images/contents.lr @@ -44,6 +44,9 @@ be accessed on **http://metadata/ssh-keys**. A Unix alike OS could use this information similar to the following code snippet: ``` +# Thanks to @LeahNeukirchen +umask 077 + tmp=$(mktemp) curl http://metadata/ssh-keys > "${tmp}"