The manual page (http://ant.apache.org/manual/Tasks/chown.html) is pretty clear about this.
____________________________________________________________________________________________
Jeffrey E. (Jeff) Care
carej@us.ibm.com
IBM WebSphere Application Server
WAS Release Engineering

WebSphere Mosiac
WebSphere Brandmark





From:        Yitzchak Lieberman <yitz589@gmail.com>
To:        dev@ant.apache.org
Date:        05/03/2012 08:43 AM
Subject:        chown task in ant
Sent by:        yitzchakl@liveperson.com




hi all.

i'm trying to run in ant build the 'chown' task on a specific folder in
order to change it to another owner.

how can i also change in the same task all subdirectories recursively? does
chown has the option to do it?

thanks!
yitzchak.

--
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the
addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.