ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: CHMOD and "."
Date Tue, 14 Dec 2010 13:37:07 GMT

Not sure this will work, but maybe:
         <chmod perm="755">
                <fileset dir="${build}/../domunit"/>
         </chmod>




On Mon, 13 Dec 2010, Garrett Smith wrote:

> 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$
>

-- 
Scot P. Floess


RHCT  (Certificate Number 605010084735240)

Chief Architect FlossWare  http://sourceforge.net/projects/flossware
                            http://flossware.sourceforge.net
                            https://github.com/organizations/FlossWare

Chief Architect JPlate     http://sourceforge.net/projects/jplate
Chief Architect JavaPIM    http://sourceforge.net/projects/javapim
Chief Architect Keros      http://sourceforge.net/projects/keros

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


Mime
View raw message