From 6f5a9b899a0732399944d86fd4727ecb62cc6aeb Mon Sep 17 00:00:00 2001 From: hectorgabucio Date: Wed, 21 Oct 2020 09:29:08 +0200 Subject: [PATCH] GH-30 fix permission write file --- build/manifest/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/manifest/main.go b/build/manifest/main.go index 89a397c..3227c2a 100644 --- a/build/manifest/main.go +++ b/build/manifest/main.go @@ -106,7 +106,7 @@ func applyManifest(manifest *model.Manifest) error { if err := ioutil.WriteFile( "server/manifest.go", []byte(fmt.Sprintf(pluginIDGoFileTemplate, manifest.Id, manifest.Version)), - 0644, + 0600, ); err != nil { return errors.Wrap(err, "failed to write server/manifest.go") } @@ -116,7 +116,7 @@ func applyManifest(manifest *model.Manifest) error { if err := ioutil.WriteFile( "webapp/src/manifest.js", []byte(fmt.Sprintf(pluginIDJSFileTemplate, manifest.Id, manifest.Version)), - 0644, + 0600, ); err != nil { return errors.Wrap(err, "failed to open webapp/src/manifest.js") }