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
commit0114b48c57c257d0e2362f5c5a44b9b146bbf3f7 (patch)
tree4e8286fd14e9dc343fab1446d2b20a9bb8063a60 /tool
parent9f63c1d09f9c3c9aa55b7e1df0b68206da30a301 (diff)
downloadruby-0114b48c57c257d0e2362f5c5a44b9b146bbf3f7.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'