ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baz" <ba...@goodconsultants.com>
Subject Re: cp or <copy> in windows?
Date Wed, 17 Mar 2004 15:48:43 GMT
Matt,

Thanks for the input. I think the cygwin file permission is also depends on
the umask.

Barry

----- Original Message ----- 
From: "Matt Benson" <gudnabrsam@yahoo.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Wednesday, March 17, 2004 7:38 AM
Subject: Re: cp or <copy> in windows?


> Barry:
>   I think you're missing the fact that cygwin is
> basically just a layer over Windows (MS-DOS).  As such
> its file permissions are a presentation of the Windows
> filesystem.  Unless you use the environment setting
> CYGWIN=ntea you should be able to safely ignore
> Unix-style permissions under cygwin and rely on <copy>
> to preserve permissions as you have already seen.  See
> http://www.cygwin.com/cygwin-ug-net/using-filemodes.html
> for an explanation.  If you decide to detect cygwin,
> you may find that the environment variable TERM is set
> to the value "cygwin" under cygwin.  It is for me,
> anyway.  See the <property> task for loading
> environment variables as properties.
>
> -Matt
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message