diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 08:02:52 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 08:02:52 +0000 |
commit | c33e9f0b2683ce189172a4870839f94419c794d6 (patch) | |
tree | 24240a781c935eb28b2f30967b5b128c0bdc06fe /tool | |
parent | 16bbeb1559a6fc058d86c0b40219142b84020619 (diff) |
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_4@57903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index a80be8aa38..c741cfb40b 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' |