updating file permissions to 0644 from 0666

This commit is contained in:
Steve Domino 2015-10-08 09:39:27 -06:00
parent 2103f90a48
commit 11d33b62b2
1 changed files with 4 additions and 0 deletions

View File

@ -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
}