ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <je...@cryptocard.com>
Subject Re: problems with chmod
Date Mon, 30 Sep 2002 12:03:21 GMT
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


-- 
 Jesse Stockall
 jesse@cryptocard.com


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message