aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 16:23:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 16:23:11 +0000
commit00742d2ca52635007827a07d6bd5eb719a42b75c (patch)
tree4e8286fd14e9dc343fab1446d2b20a9bb8063a60 /tool
parent48732df59af76a626e15b4476b3e4500ee3f3ae5 (diff)
downloadruby-00742d2ca52635007827a07d6bd5eb719a42b75c.tar.gz
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
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 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'