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

ruby-changes:37760

From: nobu <ko1@a...>
Date: Wed, 4 Mar 2015 10:34:16 +0900 (JST)
Subject: [ruby-changes:37760] nobu:r49841 (trunk): rbinstall.rb: set umask 077

nobu	2015-03-04 10:34:11 +0900 (Wed, 04 Mar 2015)

  New Revision: 49841

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

  Log:
    rbinstall.rb: set umask 077
    
    * tool/rbinstall.rb: default umask to prohibit group/others from
      reading/writing/executing.

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

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

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