From 8231f5f7069fd8098e2567e43dee663eddf6c258 Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 27 Mar 2017 14:37:54 +0000 Subject: merge revision(s) 57543: [Backport #13194] rbinstall.rb: default umask * tool/rbinstall.rb: revert r49841 and default umask to just prohibit all from writing. symlink(2) has no argument to set permissions but is affected by umask. [ruby-dev:49975] [Bug #13194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58152 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 4614c3538a..2edf31d0ff 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -26,7 +26,7 @@ rescue LoadError end STDOUT.sync = true -File.umask(077) +File.umask(0222) def parse_args(argv = ARGV) $mantype = 'doc' -- cgit v1.2.3