aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-06-13 16:53:21 +0200
committerTharre <tharre3@gmail.com>2015-06-13 16:53:21 +0200
commitfe21dec0e48703c23fd4882232bb04a6292b0dc2 (patch)
tree9c90208f9d77f07f5600f2a6b6b5c0a125ac1ef5 /src
parent15583cad7daef5ced710cd20d1aa1a696a3ed057 (diff)
downloadredo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.tar.gz
redo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.tar.xz
redo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.zip
Don't create files with executeable permissions
Diffstat (limited to 'src')
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
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);
}