tool/rbinstall.rb: allow owner to have write permissions

Denying write permissions to the owner seems wrong.

Oddly, this problem only manifests in the "ruby_2_4" branch when
installing bundled gems (rake and friends).  It does not happen
with "ruby_2_3", or "trunk", so it might be related to RubyGems
changes.

* tool/rbinstall.rb: set umask to 022
  [ruby-core:84420] [Bug #14227]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-01-05 09:41:21 +00:00
parent 38c62063c0
commit 6c721bd44f

View File

@ -30,7 +30,7 @@ end
INDENT = " "*36 INDENT = " "*36
STDOUT.sync = true STDOUT.sync = true
File.umask(0222) File.umask(022)
def parse_args(argv = ARGV) def parse_args(argv = ARGV)
$mantype = 'doc' $mantype = 'doc'