ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: problems with chmod
Date Mon, 30 Sep 2002 16:01:40 GMT
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 [] 
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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message