From 6e1c85e205e4a7b00d2748f15019edc40d8a840b Mon Sep 17 00:00:00 2001 From: Silvus Date: Sat, 25 Mar 2017 00:52:37 +0100 Subject: [PATCH] Json files should not be executable Former-commit-id: 850733197b3f96e2095def201b9fb47450626953 --- page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page.go b/page.go index 6b33ac6..e78d147 100755 --- a/page.go +++ b/page.go @@ -87,7 +87,7 @@ func (p *Page) Save() error { if err != nil { return err } - return ioutil.WriteFile(path.Join(pathToData, encodeToBase32(strings.ToLower(p.Name))+".json"), bJSON, 0755) + return ioutil.WriteFile(path.Join(pathToData, encodeToBase32(strings.ToLower(p.Name))+".json"), bJSON, 0644) } func (p *Page) Erase() error {