From 6c721bd44f0d6818c2df361485ebdc49c75ca913 Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 5 Jan 2018 09:41:21 +0000 Subject: 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 --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index d5623efc90..d0c10ea9f2 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -30,7 +30,7 @@ end INDENT = " "*36 STDOUT.sync = true -File.umask(0222) +File.umask(022) def parse_args(argv = ARGV) $mantype = 'doc' -- cgit v1.2.3