From 11d33b62b28f93837462ec194790be6ca27c0bd6 Mon Sep 17 00:00:00 2001 From: Steve Domino Date: Thu, 8 Oct 2015 09:39:27 -0600 Subject: [PATCH] updating file permissions to 0644 from 0666 --- scribble.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scribble.go b/scribble.go index 963c9c4..171c0ef 100644 --- a/scribble.go +++ b/scribble.go @@ -119,7 +119,11 @@ func (d *Driver) write(trans Transaction) error { tmpPath := finalPath + "~" // write marshaled data to a file, named by the resourceID +<<<<<<< Updated upstream if err := ioutil.WriteFile(tmpPath, b, 0666); err != nil { +======= + if err := ioutil.WriteFile(dir+"/"+trans.ResourceID, b, 0644); err != nil { +>>>>>>> Stashed changes return err }