ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <kw...@i2.com>
Subject Re: Any chance to have <copy> to preserve file permissions?
Date Wed, 04 Dec 2002 03:44:17 GMT
Yes, everyone wishes ant could copy files on unix and
preserve permissions. But, java doesn't recognize those
permissions, so the copy cannot preserve them - it can't
preserve something it does not see.

You can use 'exec' to run 'cp' and preserve permissions...

Alexey Solofnenko wrote:
> 
> Fair enough. But don't you think it might be really important to be able to
> copy executable files on Unix?
> 
> - Alexey.
> 
> -----Original Message-----
> From: Steve Loughran [mailto:steve_l@iseran.com]
> Sent: Tuesday, December 03, 2002 3:37 PM
> To: Ant Developers List
> Subject: Re: Any chance to have <copy> to preserve file permissions?
> 
> ----- Original Message -----
> From: "Alexey Solofnenko" <A.Solofnenko@mdl.com>
> To: <ant-dev@jakarta.apache.org>
> Sent: Tuesday, December 03, 2002 1:48 PM
> Subject: Any chance to have <copy> to preserve file permissions?
> 
> > Since you have <chmod> now, could you please make <copy> (and others)
to
> > preserve file permissions?
> >
> 
> not until you modify the java runtimes to let us actually get the perms.
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message