こんばんは、sheepman です。

追加です。 FileUtils.chown_R の定義の引数も間違っているようです。

Index: fileutils.rb
===================================================================
RCS file: /src/ruby/lib/fileutils.rb,v
retrieving revision 1.51
diff -u -r1.51 fileutils.rb
--- fileutils.rb        1 Jan 2005 08:59:48 -0000       1.51
+++ fileutils.rb        23 Jan 2005 14:19:04 -0000
@@ -321,7 +321,7 @@
   # Options: noop verbose
   # 
   # Same as
-  #   #ln_s(src, dest, :force)
+  #   #ln_s(src, dest, :force => true)
   # 
   def ln_sf(src, dest, options = {})
     fu_check_options options, :noop, :verbose
@@ -370,7 +370,7 @@
   # 
   #   # Examples of copying several files to target directory.
   #   FileUtils.cp_r %w(mail.rb field.rb debug/), site_ruby + '/tmail'
-  #   FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop, :verbose
+  #   FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', { :noop => true, :verbose => true}
   #
   #   # If you want to copy all contents of a directory instead of the
   #   # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,
@@ -651,7 +651,7 @@
   # Options: noop verbose
   # 
   # Same as
-  #   #rm(list, :force)
+  #   #rm(list, :force => true)
   #
   def rm_f(list, options = {})
     fu_check_options options, :noop, :verbose
@@ -861,7 +861,7 @@
   #   FileUtils.chown_R 'www', 'www', '/var/www/htdocs'
   #   FileUtils.chown_R 'cvs', 'cvs', '/var/cvs', :verbose => true
   # 
-  def chown_R(mode, list, options = {})
+  def chown_R(user, group, list, options = {})
     fu_check_options options, :noop, :verbose
     list = fu_list(list)
     fu_output_message sprintf('chown -R %s%s',

-- 
sheepman / TAMURA Takashi
sheepman / tcn.zaq.ne.jp http://sheepman.parfait.ne.jp/