diff --git a/cmd/compile_assets/main.go b/cmd/compile_assets/main.go
index bd654b0f745c23937e6fe2acd8b81100d20431a5..99c5c3ff65642681a5dda93da12a486d0279301b 100644
--- a/cmd/compile_assets/main.go
+++ b/cmd/compile_assets/main.go
@@ -39,7 +39,7 @@ func main() {
 		str += fmt.Sprintf("\t\"%s\": \"%s\",\n", f, b64)
 	}
 	str += "}\n"
-	err := ioutil.WriteFile(*outputFile, []byte(str), 644)
+	err := ioutil.WriteFile(*outputFile, []byte(str), 0644)
 	if err != nil {
 		panic(err)
 	}
diff --git a/common/assets/process.go b/common/assets/process.go
index 93a473f724043ee7c39c3e937c0b138b52a90296..99a95e7027d26e73e5ed73adce5968a655ddc648 100644
--- a/common/assets/process.go
+++ b/common/assets/process.go
@@ -71,7 +71,7 @@ func extractPrefixTo(pathName string, destination string) {
 
 		dest := path.Join(destination, filepath.Base(f))
 		logrus.Infof("Writing %s to %s", f, dest)
-		err = ioutil.WriteFile(dest, b, 644)
+		err = ioutil.WriteFile(dest, b, 0644)
 		if err != nil {
 			panic(err)
 		}