From d7628fcfd384235b3313f642fb2a36db890fb6f8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 4 Mar 2015 01:34:11 +0000 Subject: [PATCH] rbinstall.rb: set umask 077 * tool/rbinstall.rb: default umask to prohibit group/others from reading/writing/executing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 6af01d213a..d4c110e66f 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -26,7 +26,7 @@ rescue LoadError end STDOUT.sync = true -File.umask(0222) +File.umask(077) def parse_args(argv = ARGV) $mantype = 'doc'