summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-04 01:34:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-04 01:34:11 +0000
commitd7628fcfd384235b3313f642fb2a36db890fb6f8 (patch)
tree9107954faeb5084278088bfa9394c64518cdec76 /tool
parent83a27c8703575fa1bc889f344ae8efc7e59c43ef (diff)
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
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 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'