From 0114b48c57c257d0e2362f5c5a44b9b146bbf3f7 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 5 Feb 2017 16:23:11 +0000 Subject: 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/trunk@57543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/rbinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/rbinstall.rb') diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index d242002b18..6ee63855bf 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -29,7 +29,7 @@ rescue LoadError end STDOUT.sync = true -File.umask(077) +File.umask(0222) def parse_args(argv = ARGV) $mantype = 'doc' -- cgit v1.2.3