diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 14:37:54 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-27 14:37:54 +0000 |
commit | 8231f5f7069fd8098e2567e43dee663eddf6c258 (patch) | |
tree | d78679cc274896114dbdbef31700bb3ab625ddc3 /tool | |
parent | e0cb040a9b034cff481d7660dc59ce060777d6b1 (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_3@58152 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 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' |