summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 07b38c5c40..1a3e7523ef 100644
--- a/io.c
+++ b/io.c
@@ -9569,7 +9569,7 @@ copy_stream_body(VALUE arg)
FilePathValue(stp->dst);
args[0] = stp->dst;
args[1] = INT2NUM(oflags);
- args[2] = INT2FIX(0600);
+ args[2] = INT2FIX(0666);
dst_io = rb_class_new_instance(3, args, rb_cFile);
stp->dst = dst_io;
stp->close_dst = 1;