diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-26 15:18:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-26 15:18:05 +0000 |
commit | 5f652716ca9d49cc1b89525b4c877d0bd426da91 (patch) | |
tree | 80b10803d915b3a6a7039347d4cb951e31ca05c6 /io.c | |
parent | 0f59228a0b08bf59e4f9747b9272adca0899b157 (diff) |
* io.c (copy_stream_body): use 0666 for permission argument for open.
[ruby-core:40865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |