From fe21dec0e48703c23fd4882232bb04a6292b0dc2 Mon Sep 17 00:00:00 2001
From: Tharre <tharre3@gmail.com>
Date: Sat, 13 Jun 2015 16:53:21 +0200
Subject: Don't create files with executeable permissions

---
 src/build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/build.c')

diff --git a/src/build.c b/src/build.c
index 8a4ab48..4415516 100644
--- a/src/build.c
+++ b/src/build.c
@@ -340,7 +340,7 @@ void add_dep(const char *target, const char *parent, int ident) {
 			fatal("redo: failed to open %s", dep_path);
 
 		/* no dependency record was found, so we create one */
-		fd = open(dep_path, O_WRONLY | O_APPEND | O_CREAT, 0755);
+		fd = open(dep_path, O_WRONLY | O_APPEND | O_CREAT, 0644);
 		if (fd < 0)
 			fatal("redo: failed to open %s", dep_path);
 	}
-- 
cgit v1.2.3-70-g09d2