You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Adams <DA...@ignitesports.com> on 2002/04/23 00:01:10 UTC
Newbie question about exec/chown
All,
I am trying to write an exec task in UNIX to chown a directory and files (as well as the subdirectories). The task command I am using is:
<exec dir="${dir}" executable="chown" os="SunOS">
<arg line="-R user:web ${dir}/*"/>
</exec>
This returns:
[exec] chown: /data/netscape/docs/target/*: No such file or directory
[exec] Result: 1
This seems to come out well when I <echo> the entire task command.
Any thoughts?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Adams
Ignite Sports (www.ignitesports.com)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~