summaryrefslogtreecommitdiff
path: root/ocamlbuild/display.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamlbuild/display.ml')
-rw-r--r--ocamlbuild/display.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamlbuild/display.ml b/ocamlbuild/display.ml
index f8aab13740..11586662f9 100644
--- a/ocamlbuild/display.ml
+++ b/ocamlbuild/display.ml
@@ -120,7 +120,7 @@ let create
match log_file with
| None -> None
| Some fn ->
- let oc = open_out_gen [Open_text; Open_wronly; Open_creat; Open_trunc] 0o644 fn in
+ let oc = open_out_gen [Open_text; Open_wronly; Open_creat; Open_trunc] 0o666 fn in
let f = Format.formatter_of_out_channel oc in
Format.fprintf f "### Starting build.\n";
Some (f, oc)