From 5120097a02a73893d5ea37145663f77364ae6d43 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Fri, 1 Oct 2021 16:40:11 +0200 Subject: [PATCH] build: set 600 permission to config.json when packagin the app (#18490) --- build/release.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/build/release.mk b/build/release.mk index 7f989d4b43..7c97590c0a 100644 --- a/build/release.mk +++ b/build/release.mk @@ -87,6 +87,7 @@ package-prep: sed -i'' -e 's|"ReplyToAddress": "test@example.com",|"ReplyToAddress": "",|g' $(DIST_PATH)/config/config.json sed -i'' -e 's|"SMTPServer": "localhost",|"SMTPServer": "",|g' $(DIST_PATH)/config/config.json sed -i'' -e 's|"SMTPPort": "2500",|"SMTPPort": "",|g' $(DIST_PATH)/config/config.json + chmod 600 $(DIST_PATH)/config/config.json @# Package webapp mkdir -p $(DIST_PATH)/client