Hello,

I've found that if I have:

  <chmod dir="bin" perm="ugo+x"/>

then the directory "bin" has it's permissions changed, not the files
inside the bin/ directory. Makes sense, but the docs say:

includes     comma separated list of patterns of files that must be
             included. All files are included when omitted.

The last part is not true; if it were, it would be impossible to change
the permission of only a directory.

Patch attached.

thanks,

--Jeff
Index: docs/manual/CoreTasks/chmod.html
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/manual/CoreTasks/chmod.html,v
retrieving revision 1.2
diff -u -r1.2 chmod.html
--- docs/manual/CoreTasks/chmod.html    2001/02/13 12:31:50     1.2
+++ docs/manual/CoreTasks/chmod.html    2001/08/24 00:49:20
@@ -44,7 +44,7 @@
   <tr>
     <td valign="top">includes</td>
     <td valign="top">comma separated list of patterns of files that must be
-      included. All files are included when omitted.</td>
+      included.</td>
     <td valign="top" align="center">No</td>
   </tr>
   <tr>

Reply via email to