That's the one bad thing about the new 'file' attribute of <fileset>... It might confuse people. Maybe a check to see if 'file' is used in conjunction with the others <fileset> attributes should be in order, with proper issuing of a warning message... Any takers ;-) --DD
-----Original Message----- From: Jesse Stockall [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:03 AM To: Ant Users List Subject: Re: problems with chmod On Fri, 2002-09-27 at 21:45, Jennifer Moter wrote: > I'm having problems making a shell script executable: > <chmod file="${stage.tomcat.home}/bin" perm="ugo+rx" includes="*.sh"/> > If you are trying to change the permissions on the contents of a directory your <chmod> target should look like this: <chmod dir="${stage.tomcat.home}/bin" perm="ugo+rx" includes="*.sh"/> ~~~ Your example was changing the permissions of the ${stage.tomcat.home}/bin directory itself, rather than the contents. Jesse -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>