ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Smith <dhtmlkitc...@gmail.com>
Subject CHMOD and "."
Date Tue, 14 Dec 2010 05:33:10 GMT
I want Ant to change permissions on a directory, recursively. I have:

        <chmod perm="755">
        	<fileset dir="${build}/domunit"/>
        </chmod>

Yet the result does not include the "domunit" directory itself (see
below). How can I change this to set the permission on "." to 755?

tomomi:domunit garrett$ pwd
/Users/garrett/workspace/ape-javascript-library/build/domunit
tomomi:domunit garrett$ ls -al
total 136
drwx------   5 garrett  staff    170 Dec 12 22:03 .
drwx------  68 garrett  staff   2312 Dec 13 01:43 ..
-rwxr-xr-x   1 garrett  staff    625 Dec 12 22:03 TestReporter.css
-rwxr-xr-x   1 garrett  staff  64071 Dec 12 22:03 domunit.js
drwxr-xr-x   3 garrett  staff    102 Dec  8 21:23 eventsynth
tomomi:domunit garrett$
-- 
Garrett

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


Mime
View raw message