summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 09:41:21 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-05 09:41:21 +0000
commit6c721bd44f0d6818c2df361485ebdc49c75ca913 (patch)
tree947e258b345879ccf682d70dd7c0ab8753bf8ec8 /tool
parent38c62063c085ddf592461435bfa379de91851e65 (diff)
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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
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'