ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <>
Subject Re: Detecting unix style then choose how to copy files?
Date Wed, 17 Mar 2004 05:09:01 GMT
Baz wrote:

> <copy> will work fine but not preserving the permission. <chmod> cannot
> change modes in dos and cannot change the "others" permission, e.g 777. What
> should I do?
> So I am thinking that if i encounter "unix" style environment, i.e. Unix and
> Cygwin, then use "cp -r" otherwise just use the default <copy>.

It's hard to tell from your question just what it is you are trying to achieve (aside
from copying files). What permissions do you care about in Cygwin?

Jack J. Woehr      # We have gone from the horse and buggy
Senior Consultant  # to the moon rocket in one lifetime, but
Purematrix, Inc.   # there has not been a corresponding moral # growth in mankind. - Dwight D. Eisenhower

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message