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

ruby-changes:25595

From: zzak <ko1@a...>
Date: Wed, 14 Nov 2012 13:26:30 +0900 (JST)
Subject: [ruby-changes:25595] zzak:r37652 (trunk): * lib/fileutils.rb (chmod): Add "X" to modes, convert format to table

zzak	2012-11-14 13:26:20 +0900 (Wed, 14 Nov 2012)

  New Revision: 37652

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

  Log:
    * lib/fileutils.rb (chmod): Add "X" to modes, convert format to table
      [ruby-core:48965] [Bug #7288]

  Modified files:
    trunk/ChangeLog
    trunk/lib/fileutils.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37651)
+++ ChangeLog	(revision 37652)
@@ -1,3 +1,8 @@
+Wed Nov 14 13:25:00 2012  Zachary Scott  <zachary@z...>
+
+	* lib/fileutils.rb (chmod): Add "X" to modes, convert format to table
+	  [ruby-core:48965] [Bug #7288]
+
 Wed Nov 14 11:51:00 2012  Zachary Scott  <zachary@z...>
 
 	* lib/csv.rb (init_comments): Document private method #init_comments.
Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb	(revision 37651)
+++ lib/fileutils.rb	(revision 37652)
@@ -1016,18 +1016,20 @@
   #   FileUtils.chmod "u=wr,go=rr", %w(my.rb your.rb his.rb her.rb)
   #   FileUtils.chmod "u=wrx,go=rx", '/usr/bin/ruby', :verbose => true
   #
-  #   "a" is user, group, other mask.
-  #   "u" is user's mask.
-  #   "g" is group's mask.
-  #   "o" is other's mask.
-  #   "w" is write permission.
-  #   "r" is read permission.
-  #   "x" is execute permission.
-  #   "s" is uid, gid.
-  #   "t" is sticky bit.
-  #   "+" is added to a class given the specified mode.
-  #   "-" Is removed from a given class given mode.
-  #   "=" Is the exact nature of the class will be given a specified mode.
+  # "a" :: is user, group, other mask.
+  # "u" :: is user's mask.
+  # "g" :: is group's mask.
+  # "o" :: is other's mask.
+  # "w" :: is write permission.
+  # "r" :: is read permission.
+  # "x" :: is execute permission.
+  # "X" ::
+  #   is execute permission for directories only, must be used in conjunction with "+"
+  # "s" :: is uid, gid.
+  # "t" :: is sticky bit.
+  # "+" :: is added to a class given the specified mode.
+  # "-" :: Is removed from a given class given mode.
+  # "=" :: Is the exact nature of the class will be given a specified mode.
 
   def chmod(mode, list, options = {})
     fu_check_options options, OPT_TABLE['chmod']

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

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