[前][次][番号順一覧][スレッド一覧]

ruby-changes:45470

From: nobu <ko1@a...>
Date: Mon, 6 Feb 2017 01:23:15 +0900 (JST)
Subject: [ruby-changes:45470] nobu:r57543 (trunk): rbinstall.rb: default umask

nobu	2017-02-06 01:23:11 +0900 (Mon, 06 Feb 2017)

  New Revision: 57543

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57543

  Log:
    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]

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 57542)
+++ tool/rbinstall.rb	(revision 57543)
@@ -29,7 +29,7 @@ rescue LoadError https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L29
 end
 
 STDOUT.sync = true
-File.umask(077)
+File.umask(0222)
 
 def parse_args(argv = ARGV)
   $mantype = 'doc'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]