From 139f6a0f4c1b3358a92bdfb5637878b2c97eba78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Sun, 21 Feb 2016 20:39:49 +0000 Subject: [PATCH] generators: Don't generate params/protocol_params.go with +x bit --- generators/defaults.go | 2 +- params/protocol_params.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 params/protocol_params.go diff --git a/generators/defaults.go b/generators/defaults.go index 386c6743d9..aec4fe8450 100644 --- a/generators/defaults.go +++ b/generators/defaults.go @@ -52,7 +52,7 @@ func main() { json.Unmarshal(content, &m) filepath := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "params", os.Args[2]) - output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, os.ModePerm /*0777*/) + output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, 0666) if err != nil { fatal("error opening file for writing %v\n", err) } diff --git a/params/protocol_params.go b/params/protocol_params.go old mode 100755 new mode 100644